Opera 5 & Javascript
by "Bastyr University WebMaster" <WebMaster(at)bastyr.edu>
|
Date: |
Tue, 12 Dec 2000 07:49:19 -0800 |
To: |
<hwg-techniques(at)mail.hwg.org> |
|
todo: View
Thread,
Original
|
|
Hello all,
Finally got my site working in NN6, now I'm working on Opera 5. The =
problem I'm having is again with our site navigation javascript. I =
currently use three different sets of code for NN6, NN4.x and IE 4/5. =
I've tried all three with Opera and none work. From what I've read on =
Opera's site, it seems that the code that works for NN6 should work for =
Opera too. The part that doesn't work is this:
eval("document.getElementById('"+iName+"A').style.display =3D 'block'")
eval("document.getElementById('"+iName+"A').style.position =3D 'relative'")=
eval("document.getElementById('"+iName+"A').style.visibility =3D 'visible'"=
)
iName being an element name being passed when a link is clicked on. This =
should then make additional links visible below the original. This works =
just dandy for NN6, but in Opera it just does nothing.=20
Any ideas on what I'm missing here?
Any guidance appreciated,
Doug Dossett
Webmaster
Bastyr University
http://www.bastyr.edu
ICQ# 94618088
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA