2 replies [Last post]
timmaciejewski
Offline
newbie
Last seen: 10 years 18 weeks ago
Timezone: GMT-7
Joined: 2010-07-26
Posts: 2
Points: 3

Hello everyone,

I am having a problem with a CSS drop-down menu. The menu works fine, as you can see here:

http://littlebuddymedia.com/help/011.html

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.

Any ideas?

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

Thank you.

timmaciejewski
Offline
newbie
Last seen: 10 years 18 weeks ago
Timezone: GMT-7
Joined: 2010-07-26
Posts: 2
Points: 3

The CSS file

Here is the full URL for the CSS file: http://littlebuddymedia.com/help/chrometheme/chromestyle.css

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 36 weeks 2 days ago
Joined: 2004-06-30
Posts: 9668
Points: 801

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?

Verschwindende wrote:
  • CSS doesn't make pies