Hi guys
I am trying to use the Drop Down Tabs (5 styles) to create a drop down navigation bar on one of my websites and after 6 hours of going through it i thought i would ask for assistance.
Its just not working. The url is http://www.dynamicdrive.com/dynamici...roptabmenu.htm
Below is the code. I guess im supposed to tell the page where to look for the JS file but cant figure out where.
If anyone is able to help it would save me the largest headache since i started learning HTML.
Thanks very much in advance
Dariune
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- TemplateBeginEditable name="doctitle" --> <title>Dragon's Touch - Home</title> <!-- TemplateEndEditable --> <style type="text/css"> <!-- body { background-color: #000000; } --> </style> <link href="../Stylesheets/DT CSS.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- a:link { color: #b46633; } --> --> </style> <link href="../Stylesheets/DT CSS.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- a:link { color: #b46633; } .style3 {font-size: medium} a:visited { color: #d01foa; } a:hover { color: #d01foa; } a:active { color: #d01foa; } --> </style> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --> <script type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } //--> </script> <link href="../dropdowntabs/dropdowntabfiles/ddcolortabs.css" rel="stylesheet" type="text/css" /> </head> <body onload="MM_preloadImages('../Images/Linkart/links_b.gif')"> <div class="style3" id="outer"> <div id="Header"></div> <div id="SecNav"><p align="center">Secondary Navigation<br /> <div id="ddcolortabs" class="ddcolortabs"> <ul> <li><a href="http://www.dynamicdrive.com">Home</a></li> <li><a href="http://www.dynamicdrive.com/style/" rel="dropmenu1">CSS</a></li> <li><a href="http://www.dynamicdrive.com/resources/" rel="dropmenu2">Partners</a></li> <li><a href="http://tools.dynamicdrive.com">Tools</a></li> </ul> </div> <!--1st drop down menu --> <div id="dropmenu1" class="ddcolortabs"> <a href="http://www.cssdrive.com">CSS Drive</a> <a href="http://www.javascriptkit.com">JavaScript Kit</a> <a href="http://www.codingforums.com">Coding Forums</a> <a href="http://www.javascriptkit.com/jsref/">JavaScript Reference</a></div> " " <script type="text/javascript"> //SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"]) tabdropdown.init("bluemenu", 0) </script> </div> <div id="links"><br /> <p align="left">Home<br />Dragons<br />Etc <div id="news"> This is the news area <!-- TemplateBeginEditable name="News" -->News<!-- TemplateEndEditable --> <p> Dragons Touch will be launching our first DT Festival in 2009 </p> </div> </div> <div id="Main"> <div align="center"> <!-- TemplateBeginEditable name="Main" --><!-- TemplateEndEditable --></div> </div> <div id="Footer"><img src="../Images/Footer2.png" width="400" height="107" /></div> </div> </body> </html>



Reply With Quote



Bookmarks