Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 1st, 2004, 09:06 PM
violet violet is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 50 violet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Incorrect position display for Collapse Menu~ HELP~

hello everyone, i new to Javascript. So now i facing problem that i would like to display my collapse menu inside the table with the position that i have been set. how i going to solve it?? below is my script without insert into the table yet :-

<html>
<HEAD>


<title>carstudio.com</title>
<script language="JavaScript" src="general.js"></script>
<script language="JavaScript" src="dynlayer.js"></script>
<script language="JavaScript" src="dynlayer-glide.js"></script>
<script language="JavaScript" src="dynlayer-common.js"></script>
<script language="JavaScript" src="collapsemenu.js"></script>
<STYLE type="text/css">
<!--
A { text-decoration:none }
A:hover { text-decoration: none; font: bold; color: #99cc33; }
div.box { border: solid; border-width: thin; width: 100% }
.style1 {color: #D4D0C8;}
-->
</STYLE>
<!--VERY IMPORTANT:
newCollapseMenu(w,x,y,z)
w=indent from side, x=from top, y=size of menu, z=number of menu items
"z" is extremely important. It has to match the menu items.
-->
<script language="JavaScript">
<!--
onload = init
function init() {
collapse.activate()

// set the height of the document based on the height of the menu
if (is.ns) document.height = collapse.lyr.y + collapse.h
}


collapse = new CollapseMenu(50,50,200,6)
collapse.openStyle = 'glide'
collapse.build()


writeCSS(
collapse.css
)


//-->
</script>
<script language="JavaScript">
<!--
browserName=navigator.appName;
browserVer=parseInt(navigator.appVersion);
if ((browserName=="Netscape" && browserVer >= 3) || (browserName=="Microsoft Internet Explorer" && browserVer >= 4))
version="able";
else version="unable";
if (version=="able") {
}
function Swap(name,state) {
if (document.images) {
document.images[name].src = eval(name + state + '.src');
}
if (state == 'off')
window.status='Welcome to Carstudio.com Website';
}
//-->


</script>
</head>
<body background="" bgcolor="#FFFFFF" text="#666666" link="#666666" alink="#009966" vlink="#666666" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<center>
<br>
</center>
<p>
<font face="Arial,Helvetica" style="font-size:12px">
<script language="JavaScript">
document.write(collapse.divStart)
</script>
<div id="CollapseMenu0Block0">
<div class="style1" id="CollapseMenu0Block0Item"><a href="javascript:collapse.toggle(0)">Members</a></div>
<div class="style1" id="CollapseMenu0Block0Content">
<a href="member_signup.asp">
&#160 &#160 &#160 Sign Me Up!
</a><br>
<a href="memberlogin.asp">
&#160 &#160 &#160 Member Login
</a><br>
<a href="member_benefits.asp">
&#160 &#160 &#160 Benefits
</a><br>
<a href="member_hiw.asp">
&#160 &#160 &#160 How it works?
</a><br>
<a href="member_faqs.asp">
&#160 &#160 &#160 FAQs
</a><br>
<p>


</div>

<div id="CollapseMenu0Block1">
<div class="style1" id="CollapseMenu0Block1Item"><a href="javascript:collapse.toggle(1)">Car Dealers</a></div>
<div class="style1" id="CollapseMenu0Block1Content">

<a href="dealer_signup.asp">
&#160 &#160 &#160 Join Our Network!
</a><br>
<a href="dealer_login.asp">
&#160 &#160 &#160 Dealer Login
</a><br>
<a href="dealerlist.asp">
&#160 &#160 &#160 View Dealer
</a><br>
<a href="dealer_hiw.asp">
&#160 &#160 &#160 Benefits
</a><br>
<a href="dealer_hiw.asp">
&#160 &#160 &#160 How it works?
</a><br>
<a href="dealer_faqs.asp">
&#160 &#160 &#160 FAQs
</a><br>
<p>


</div>

<div id="CollapseMenu0Block2">
<div id="CollapseMenu0Block2Item">
<a href="javascript:collapse.toggle(2)">Buy A Car</a></div>
<div id="CollapseMenu0Block2Content">
<a href="findnewcar.asp">
&#160 &#160 &#160 Find A New Car
</a><br>
<p>
</div>


<div id="CollapseMenu0Block3">
<div id="CollapseMenu0Block3Item">
<a href="javascript:collapse.toggle(3)">Financing</a></div>
<div id="CollapseMenu0Block3Content">
<a href="afford_calc.asp">
&#160 &#160 &#160 Loan Affordability Calc
</a><br>
<a href="payment_calc.asp">
&#160 &#160 &#160 Loan Payment Calc
</a><br>
<a href="roadtax_calc.asp">
&#160 &#160 &#160 Road Tax Calc
</a><br>
<p>
</div>


<div id="CollapseMenu0Block4">
<div id="CollapseMenu0Block4Item">
<a href="javascript:collapse.toggle(4)">Resources</a></div>
<div id="CollapseMenu0Block4Content">
<a href="auto_gallery.asp">
&#160 &#160 &#160 Auto Gallery
</a><br>
<a href="rebate.asp">
&#160 &#160 &#160 CarStudio Rebates
</a><br>
<a href="car_review.asp">
&#160 &#160 &#160 Car Review
</a><br>
<p>
</div>


<div id="CollapseMenu0Block5">
<div id="CollapseMenu0Block5Item">
<a href="javascript:collapse.toggle(5)">About Us</a></div>
<div id="CollapseMenu0Block5Content">
<a href="inthenews.asp">
&#160 &#160 &#160 In The News!
</a><br>
<a href="tos.asp">
&#160 &#160 &#160 Terms of Service
</a><br>
<a href="contactus.asp">
&#160 &#160 &#160 Contact Us
</a><br>
<p>
</div>


<script language="JavaScript">
document.write(collapse.divEnd)
</script>
</body>
</html>
</HTML>


how and where should i input the table tag inside the code that to display it at the position that i wish? Thanks.!

Reply With Quote
  #2  
Old July 19th, 2004, 01:05 PM
beercraft_asp's Avatar
beercraft_asp beercraft_asp is offline
Spell Breaker
ASP Free Novice (500 - 999 posts)
 
Join Date: May 2004
Posts: 990 beercraft_asp User rank is Lance Corporal (50 - 100 Reputation Level)beercraft_asp User rank is Lance Corporal (50 - 100 Reputation Level)beercraft_asp User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 8 h 33 m 42 sec
Reputation Power: 5
Send a message via AIM to beercraft_asp Send a message via MSN to beercraft_asp
read this in your code :
<!--VERY IMPORTANT:
newCollapseMenu(w,x,y,z)
w=indent from side, x=from top, y=size of menu, z=number of menu items
"z" is extremely important. It has to match the menu items.
-->

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Incorrect position display for Collapse Menu~ HELP~


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway