SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    The Jellophonic Autobrain CHeeSeBLiND's Avatar
    Join Date
    Jul 2001
    Location
    Bolton, England
    Posts
    584
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Div hover over image on mouseover

    I want to have a bit of html that looks like this (excluding the class/id's that I'll need):

    HTML Code:
    <a href="#" title="whatever"><img src="/image/source.jpg" alt="whatever" /></a>
    <div>content content content content content content content content content content content content </div>
    I want the div to be hidden until someone hovers over the images. Then I want the top left corner of the div to be where the cursor is, and follow the cursor when it moves over the images.

    Demonstrated by this piece of art:



    Can anyone point me in the right direction? a tutorial, example, code etc.

    Thanks in advance.
    hmm...

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check out this sticky post for JavaScript tutorials and tips.

    Then I suggest you to figure it out yourself how to do this, or google for this.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •