PDA

View Full Version : Sniffer Sniffles



geegum
11-23-2008, 03:30 AM
1) Script Title: Top Navigational Bar III v3.5 (sniffer.js)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/topmen3/index.htm

3) Describe problem: Menu doesn't work in ie7. I added a line "var ie7=0;" in the sniffer.js which enabled the main menu items to show up but can't figure out what I need to do to get the submenu items to work.

Would greatly appreciate help!
Thanks,
Geegum

jscheuer1
11-23-2008, 03:49 AM
The demo page on Dynamic Drive for this script works OK in IE 7 here. How about for you in IE 7? If the demo page works for you, there is a problem with your implementation, if not - there is something odd about your IE 7 settings, or related settings in your OS or plug ins.

Please post a link to the page on your site that contains the problematic code so we can check it out.

However, I will say that this is a rather old script, written long before even IE 6 and by a third party (not DD), so there could easily be problems with it in modern browsers. You might want to consider using a more modern menu script.

geegum
11-23-2008, 05:46 PM
I'll be! the demo script does work on ie7. I’m embarrassed I didn’t check this out. I'll try to figure out what I did. In the mean time the page I'm working on is: http://www.currentsspiritualcare.com/hold.html.

Thanks,
Geegum

jscheuer1
11-23-2008, 10:36 PM
One thing I can tell you from viewing your javascript is that you have non-standard values set for the colors. If you want no background color, use the same color as the background of the page or "transparent". If you want no change in the foreground color, use the existing foreground color.

There could also be other problems.

geegum
11-24-2008, 03:37 AM
You are correct. The problem wasn't in the sniffer.js script, it was in the custom.js script.

I had incorrect variables set for the colors. All is well now!
Thank you John!