| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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">       Sign Me Up! </a><br> <a href="memberlogin.asp">       Member Login </a><br> <a href="member_benefits.asp">       Benefits </a><br> <a href="member_hiw.asp">       How it works? </a><br> <a href="member_faqs.asp">       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">       Join Our Network! </a><br> <a href="dealer_login.asp">       Dealer Login </a><br> <a href="dealerlist.asp">       View Dealer </a><br> <a href="dealer_hiw.asp">       Benefits </a><br> <a href="dealer_hiw.asp">       How it works? </a><br> <a href="dealer_faqs.asp">       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">       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">       Loan Affordability Calc </a><br> <a href="payment_calc.asp">       Loan Payment Calc </a><br> <a href="roadtax_calc.asp">       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">       Auto Gallery </a><br> <a href="rebate.asp">       CarStudio Rebates </a><br> <a href="car_review.asp">       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">       In The News! </a><br> <a href="tos.asp">       Terms of Service </a><br> <a href="contactus.asp">       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.! |
|
#2
|
||||
|
||||
|
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. --> |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > Incorrect position display for Collapse Menu~ HELP~ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|