Forum Moderators: open

Message Too Old, No Replies

"Slide-in" Script Search

--From a Flash Ignoramus

         

unpoedic

2:52 pm on Dec 16, 2003 (gmt 0)

10+ Year Member



Might there be a code capable of replicating a Macromedia Flash action in which, upon triggering it, a panel slides into view (overlapping what content is already present within the browser window) and drops back down upon hovering over other elements of the page? Flash example: <snip>

[edited by: korkus2000 at 1:46 pm (utc) on Dec. 17, 2003]
[edit reason] No personal Urls please [/edit]

Purple Martin

4:41 am on Dec 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yep. The panel should be a div that originally has its coordinates set to be off the screen (don't forget that some people have very big screens). Then use the moveBy method in a timed loop to slide the div until it is in the new position. To detect the hover use the onMouseOver event of the element to call a similar timed loop to slide the div back.