java_dude
04-15-2005, 02:22 PM
Hi, I've been trying to use the Anylink Drop Down Menu (http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm) to make a layered dropdown and it seemed to work great when I used it on a blank page to test it out. IT worked fine in both IE and Firefox.
Then I added it to the page that I want to use it on (with content) and for some reason it didn't work the same in Firefox, but it still worked great in IE. In FF, the first time the page loads it works like normal, but if you refresh the page it won't show the menu when I hover over the button. And when I check the JS console it gives the error
"document has no properties"
and when I click on that error, it hilights the code
var ie4=document.all
var ns6=document.getElementById&&!document.all
From within the script. I've tried everything and I can't firgure it out. I just copy and pasted the code exactly and didn't change anything, and I still get the same thing. Can some one help? Thanks in advance!
Then I added it to the page that I want to use it on (with content) and for some reason it didn't work the same in Firefox, but it still worked great in IE. In FF, the first time the page loads it works like normal, but if you refresh the page it won't show the menu when I hover over the button. And when I check the JS console it gives the error
"document has no properties"
and when I click on that error, it hilights the code
var ie4=document.all
var ns6=document.getElementById&&!document.all
From within the script. I've tried everything and I can't firgure it out. I just copy and pasted the code exactly and didn't change anything, and I still get the same thing. Can some one help? Thanks in advance!