PDA

View Full Version : Chrome CSS Drop Down Menu (v2.5) Help



evan5
05-01-2009, 05:28 AM
Hey guys,
I am trying to implement one of these nifty menu bars. I downloaded the zip, and copied and pasted the <ul> list it gives under it(the sample one), and for some reason it aint working at all!.... I would love to have the green one shown in the example...

ANy help really appretiated. Link to page below:

http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

ddadmin
05-01-2009, 08:06 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

evan5
05-01-2009, 10:16 PM
Hey ddadmin, i dont have the site up uet(work in progress) but here is what i have so far.....I downloaded the zip and i coppied the demo on to my page(as a blueprint), but for some reason, it will not show up as the Chrome CSS Drop Down Menu

Instead it shows up as a list with dots on the left site, instead of bar....I tried all day, and I cant figure it out...also note, that I downloaded the entire zip file into the folder this html file is in, so that should be fine.:confused:


<!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" lang="en" xml:lang="en">
<head>
<title>DrinkEnergy</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="chrometheme/chromestyle.css" />

<script type="text/javascript" src="chromejs/chrome.js">

/***********************************************
* Chrome CSS Drop Down Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

</head>

<body>



<div class="chromestyle" id="chromemenu">
<ul>
<li><a href="http://www.dynamicdrive.com">Home</a></li>
<li><a href="#" rel="dropmenu1">Resources</a></li>
<li><a href="#" rel="dropmenu2">News</a></li>
<li><a href="#" rel="dropmenu3">Search</a></li>
</ul>
</div>

<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="http://www.dynamicdrive.com/">Dynamic Drive</a>
<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>


<!--2nd drop down menu -->
<div id="dropmenu2" class="dropmenudiv" style="width: 150px;">
<a href="http://www.cnn.com/">CNN</a>
<a href="http://www.msnbc.com">MSNBC</a>
<a href="http://news.bbc.co.uk">BBC News</a>
</div>

<!--3rd drop down menu -->
<div id="dropmenu3" class="dropmenudiv" style="width: 150px;">
<a href="http://www.google.com/">Google</a>
<a href="http://www.yahoo.com">Yahoo</a>
<a href="http://www.msn.com">MSN</a>
</div>


<script type="text/javascript">

cssdropdown.startchrome("chromemenu")

</script>



</body>

</html>