GD wrote:
> I'm using a script that works great on IE, but not on mozilla. the
> original one worked also on N4, but i'd like it to be funcional with
> mozilla.
(snip)
> I modified it to try to make it work with mozilla, but it still
> doesn't work. here is the modified script- thank you very much for
> your help. GD
(snip)
> thismenu=eval("document.getElementById('clickedmen u').style")
(snip)
Terrible script, with all that eval()ing...the above bit should
illustrate why. You're passing the string 'clickedmenu' to the
function, not the string contained in the variable clickedmenu.
thismenu=document.getElementById('clickedmenu').st yle
And:
thismenu=document.all[clickedmenu].style
There are so many menu scripts floating around these days, of every
variety, there's no reason to waste any time modifying relics of this
sort.
http://www.dyn-web.com/dhtml/slide/slide-out-menus.html