Click to See Complete Forum and Search --> : Layer that is attached to the cursor


Bel Esprit
03-09-2009, 10:59 PM
I presently have a floating layer (javascript) in our site designed in Dreamweaver. The layer moves as you scroll down the page. It's ok, but I would really like the layer to be attached to the cursor/pointer, so that when you place your mouse on a photo, the layer appears next to the cursor with the information about the item in the photo.

I have javascript code for an element that will do this very nicely, but the element div doesn't allow the text formatting that you can have in a layer. The element div will not even let me put a line break in.

Anybody out there have coding for a floating layer that moves with the cursor?

Thanks!!