I am having a problem with a CSS drop-down menu. The menu works fine, as you can see here:
But the text "undefined" appears next to the main menu options. My question is, why?
I have narrowed the problem down to this chunk of code:
<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>
If you remove the rel="dropmenu1" portion of the code, the word "undefined" no longer appears, but then the menu doesnt drop-down anymore.
If it is needed:
Here is the CSS file: http://littlebuddymedia.com/help/chr...hromestyle.css
Here is the JS file: http://littlebuddymedia.com/help/chromejs/chrome.js
The CSS file
Here is the full URL for the CSS file: http://littlebuddymedia.com/help/chrometheme/chromestyle.css
That's a very strange way to
That's a very strange way to create a drop down menu. Did you not have a look at Sons of Suckerfish?