CSS help needed!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Newbie!
    New Member
    • Jun 2006
    • 1

    CSS help needed!

    OK!

    I have a div that appears onMouseOver and dissappears again onMouseOut (uses JavaScript). I would like this div to have a position next to the mouse so that you can always see the div (when you are meant to) even if you're screen resolution is 640x480. Could I do this using CSS? It wouldn't have to be next to the mouse (nessescarily) but could be next to a link...

    Thank you in advance.

    Isaac
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    You will need to use javascript and css, and because you will be handling events you will need some jiggery pokery to deal with the various different event handling mechanisms that the different browsers use.

    I don't quite understand what you want it to do though if this div is following the mouse how will the mouseOut ever happen? Or do you mean that you want the div to always be onscreen and if the page is scrolled up or down the div moves so that it remains on screen.

    Try looking at the various script source sites out there I am sure this has been done before.

    Comment

    Working...