Constrained elements following mouse movement


A

Aethaelweard

Fraternal greetings Javascript comrades. Here's a tricky one. Can
anyone please tell me how I can make a div slide up and down within
another div depending on the user's mouse movements within the
container div? Without no click events, just movement whenever the
cursor is over the container?

Basically I'm trying to copy the excellent Perspective Tabs plugin for
Mootools http://people.cs.uchicago.edu/~meweltman/sliding_tabs.html -
the vertical version of it is unfortunately all messed up in IE7.

The vertical version slides a vertical stack of divs up and down
within a visible "window" formed by a containing div, depending on how
you move your mouse. Clicking on one of the divs makes content appear
in another div - I can pretty much to that with Mootools, but it's
following mouse movement that has me flummoxed.

Thank you and goodnight.

Aethaelwaerd
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top