Results 1 to 7 of 7

Thread: Looking for a hover image script

  1. #1
    Join Date
    Sep 2007
    Posts
    172
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Looking for a hover image script

    I am looking for a script in which if you take our mouse cursor on the picture a dailog box will come up in which I can write what I want to. An alternate example is http://www.dynamicdrive.com/dynamici...getooltip.htm# in this demo on taking our cursor on text a dailog box appear of picture but I want a picutre hover text box. Can anybody help me?

  2. #2
    Join Date
    Dec 2007
    Location
    Ankara, Turkey
    Posts
    160
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Default

    You can again use the script you mentioned for images. Just put the onmouseover and onmouseout events to the images you want.

  3. #3
    Join Date
    Sep 2007
    Posts
    172
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    I don't get you can you tell me how? by copying the code here and correct it?

  4. #4
    Join Date
    Sep 2007
    Posts
    172
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    And is there not any thing I can do on pictures? I have seen many where but right now I dont have any examples link.

  5. #5
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    You already gave an example.... do you need help? are you looking for another script that is similar?
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  6. #6
    Join Date
    Sep 2007
    Posts
    172
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Yes =)

  7. #7
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    So what's the problem? In the link you posted in the first post there is the code to place it on your links:

    Code:
    <a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">Link 1</a><br>
    <a href="#" onmouseover="doTooltip(event,1)" onmouseout="hideTip()">Link 2</a>
    To do it to pictures instead of text links you just do:

    Code:
    <a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()"><img src="/path/to/image.jpg" alt="Image1"></a><br>
    <a href="#" onmouseover="doTooltip(event,1)" onmouseout="hideTip()"><img src="/path/to/image2.jpg" alt="Image2"></a>
    Last edited by BLiZZaRD; 01-04-2008 at 03:31 AM.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •