4 replies [Last post]
tiggertrance
Offline
newbie
Last seen: 14 years 48 weeks ago
Joined: 2006-12-17
Posts: 5
Points: 0

I am re-doing a website and working on a drop down menu. If works fine in Firefox, but not IE. I'm using css and a java script to get the IE part working. Any help would be great, the link is below.

HTML: http://www.mawson.com/street/courses.html
CSS: http://www.mawson.com/street/main.css
Javascript: http://www.mawson.com/street/drop_down.js

The drop down is on Course right now

sperks
Offline
Enthusiast
New York
Last seen: 14 years 51 weeks ago
New York
Timezone: GMT-5
Joined: 2004-10-01
Posts: 158
Points: 0

My suspicion is that li.over

My suspicion is that li.over isn't as defined. Put #sidebar in front as such:
#sidebar li:hover ul, #sidebar li.over ul {
display: block; }

tiggertrance
Offline
newbie
Last seen: 14 years 48 weeks ago
Joined: 2006-12-17
Posts: 5
Points: 0

I tried that and its still

I tried that and its still doing the same thing.....but thanks

Any other ideas? This is the first time I am doing a drop down and also the first time I am using the javascript. Maybe its something with that??

sperks
Offline
Enthusiast
New York
Last seen: 14 years 51 weeks ago
New York
Timezone: GMT-5
Joined: 2004-10-01
Posts: 158
Points: 0

My apologies. I use this

My apologies. I use this JavaScript myself too!!

You have your id on the div, but the JavaScript is supposed to be targeting the UL. You need to put the ID on the UL:

Then the JavaScript targets aNameToTarget. Obviously you'll need to change your css to keep it looking pretty.

Cheers
Steve

tiggertrance
Offline
newbie
Last seen: 14 years 48 weeks ago
Joined: 2006-12-17
Posts: 5
Points: 0

THANK YOU!!!! I see it now.

THANK YOU!!!!

I see it now. I just tested it off-site and its working. I didn't even see that.