Any javascript experts out there?greenspun.com : LUSENET : Unofficial Newcastle United Football Club BBS : One Thread |
Off the footy topic, but with all the tech gurus on here maybe someone will know the answer. :-)Does anyone know how to write a script which, at onMouseOver, will reveal a hidden layer while moving another layer down the screen. Basically create the illusion of the menu sliding down when a submenu appears. I've got the layers written and placed...just can't figure out the javascript part to create the illusion of movement. And it needs to return to the original state onMouseout. The page is to run exclusively in Netscape4.x, so it doesn't matter that IE doesn't like the
tags I'm using ;-) I know moveTo() is used in there somewhere...I just can't find anything to explain how exactly.
Thanks!
-- Anonymous, March 14, 2000
The wardrobe coughed.
-- Anonymous, March 15, 2000
Not so sure about an answer but stuff like this might be on dynamic drive which is (as you probably know) DHMTL, but also includes Jscript in the examples - I know of at least 2 examples of there with onMouseOver (one was to play a wav file onMouseover)...there's also links to javascript sites - java abstraction or something.
-- Anonymous, March 15, 2000
CiaraTry http://webreference.com/dhtml/ for nickable code for JS menu solutions; http://webreference.com/dhtml/hiermenus/ does the heirarchical type. I've only ever seen sliders done in Java, not JS...
Hope this helps
-- Anonymous, March 15, 2000
Yipes! I didn't think this thing would recognize the layer tag I typed in my early post...sorry to anyone on Netscape who is seeing a seriously bizarre display above. doh!Thanks for the advice guys. Will have a look. :-)
-- Anonymous, March 15, 2000