Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2009
    London, ON
    Thanked 0 Times in 0 Posts

    Javascript script for image overs revealing text

    Hi all,

    I was just wondering if there is a JavaScript tutorial online that shows you how to do similar hover effect to what Twitter does with the trending topics. Such as Inception.

    When you hover over it and a black bubble appears.

    Also I'm not sure what it is called.

    If anyone knows how to do it, It would be appreciated.


  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,631 Times in 4,594 Posts
    Not hard to do.

    The little arrow that they put at the top, pointing to the topic, has to be an image. And if all the boxes are the same size then just using a single image of box plus arrow would be simplest. You'd just throw the image up over the point of the mouse and then you could put text on top of the image.

    If you'd get more specific, you might get a more complete answer.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


    Tags for this Thread

    Posting Permissions

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