#21
|
||||
|
||||
__________________
|
#22
|
||||
|
||||
Why is it erroring now? Did you add it in just like you did before? My example of what was on my site?
|
#23
|
||||
|
||||
I replaced
Code:
You have {$GLOBALS['money']} {$GLOBALS['settings']['cost']}.<br /> <a href='donate.php'>Donate money to friends</a><br /> <br /><strong>Your links:</strong><br /> <ul><li><a href='myadopts.php'>See my Rats</a></li> <li><a href='breeding.php'>Breed Rats</a></li> <li><a href='trade.php'>Trade Rats</a></li> <li><a href='account.php'>Edit My Account</a></li> <li>".$msgctr." <li><a href='logout.php'>Log Out</a></li> Code:
<ul id="sddm"> <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">Home</a> <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href="#">HTML Drop Down</a> <a href="#">DHTML Menu</a> <a href="#">JavaScript DropDown</a> <a href="#">Cascading Menu</a> <a href="#">CSS Horizontal Menu</a> </div> </li> <li><a href="#" onmouseover="mopen('m2')" onmouseout="mclosetime()">Download</a> <div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href="#">ASP Dropdown</a> <a href="#">Pulldown menu</a> <a href="#">AJAX Drop Submenu</a> <a href="#">DIV Cascading Menu</a> </div> </li> <li><a href="#">Order</a></li> <li><a href="#">Help</a></li> <li><a href="#">Contact</a></li> </ul> <div style="clear:both"></div>
__________________
|
#24
|
||||
|
||||
Code:
<ul id='sddm'> <li><a href='#' onmouseover='mopen(\"m1\")' onmouseout='mclosetime()'>Home</a> <div id='m1' onmouseover='mcancelclosetime()' onmouseout='mclosetime()'> <a href='#'>HTML Drop Down</a> <a href='#'>DHTML Menu</a> <a href='#'>JavaScript DropDown</a> <a href='#'>Cascading Menu</a> <a href='#'>CSS Horizontal Menu</a> </div> </li> <li><a href='#' onmouseover='mopen(\"m2\")' onmouseout='mclosetime()'>Download</a> <div id='m2' onmouseover='mcancelclosetime()' onmouseout='mclosetime()'> <a href='#'>ASP Dropdown</a> <a href='#'>Pulldown menu</a> <a href='#'>AJAX Drop Submenu</a> <a href='#'>DIV Cascading Menu</a> </div> </li> <li><a href='#'>Order</a></li> <li><a href='#'>Help</a></li> <li><a href='#'>Contact</a></li> </ul> <div style='clear:both'></div> |
#25
|
||||
|
||||
The site isn't glitching, but it's not working. It's the same error as before - it's there, it's just not formatting correctly.
I have to go to supper, I'll be back soon.
__________________
|
#26
|
||||
|
||||
Ok hang on...
|
#27
|
||||
|
||||
You did not put the javascript part in your template.html page. I just looked at the source code of your page and it isn't there.
|
#28
|
||||
|
||||
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>:BROWSERTITLE:</title> <link rel="stylesheet" type="text/css" href="templates/faux/main.css" /> <script>// Copyright 2006-2007 javascript-array.com var timeout = 500; var closetimer = 0; var ddmenuitem = 0; // open hidden layer function mopen(id) { // cancel close timer mcancelclosetime(); // close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; // get new layer and show it ddmenuitem = document.getElementById(id); ddmenuitem.style.visibility = 'visible'; } // close showed layer function mclose() { if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; } // go close timer function mclosetime() { closetimer = window.setTimeout(mclose, timeout); } // cancel close timer function mcancelclosetime() { if(closetimer) { window.clearTimeout(closetimer); closetimer = null; } } // close layer when click-out document.onclick = mclose; </script> </head> <body> <!-- Begin Wrapper --> <div id="wrapper"> <!-- Begin Header --> <div id="header"> <center><a href="/"><img src="templates/faux/betabanner.png"></a></center> </div> <!-- End Header --> <!-- Begin Navigation --> <div id="navigation"> :SIDEFEED: </div> <!-- End Navigation --> <!-- Begin Faux Columns --> <div id="faux"> <!-- Begin Left Column --> <div id="leftcolumn"> <h1>:ARTICLETITLE:</h1> <p> :ARTICLECONTENT: </p> <div class="clear"></div> </div> <!-- End Left Column --> <!-- Begin Right Column --> <div id="rightcolumn"> <br><br> <hr> <br><br> :LINKSBAR: <div class="clear"></div> </div> <!-- End Right Column --> </div> <!-- End Faux Columns --> <!-- Begin Footer --> <div id="footer"> This is the Footer </div> <!-- End Footer --> </div> <!-- End Wrapper --> </body> </html>
__________________
|
#29
|
||||
|
||||
Change it to this:
Code:
<script type="text/javascript">// Copyright 2006-2007 javascript-array.com var timeout = 500; var closetimer = 0; var ddmenuitem = 0; // open hidden layer function mopen(id) { // cancel close timer mcancelclosetime(); // close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; // get new layer and show it ddmenuitem = document.getElementById(id); ddmenuitem.style.visibility = 'visible'; } // close showed layer function mclose() { if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; } // go close timer function mclosetime() { closetimer = window.setTimeout(mclose, timeout); } // cancel close timer function mcancelclosetime() { if(closetimer) { window.clearTimeout(closetimer); closetimer = null; } } // close layer when click-out document.onclick = mclose; </script> |
#30
|
||||
|
||||
it doesn't appear to have had any changes. ;-;
__________________
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to edit both menu's? | Skaiya | Questions and Supports | 6 | 04-01-2014 03:03 PM |
Modifying Dropdown Menu | Hwona | Questions and Supports | 3 | 02-19-2014 04:30 PM |
Dropdown's suggestion | Zeref | Suggestions and Feature Requests | 5 | 08-23-2012 02:45 PM |
Tab Slide Out Menu..? | Alaric | Questions and Supports | 0 | 06-18-2012 06:11 AM |
Avatar in menu | SilverDragonTears | Questions and Supports | 16 | 04-25-2012 08:03 AM |
What's New? |
What's Hot? |
What's Popular? |