Results 1 to 3 of 3

Thread: Image w/ description tooltip v2.0 - Image fade-in and out possible?

  1. #1
    Join Date
    Nov 2008
    Posts
    31
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Image w/ description tooltip v2.0 - Image fade-in and out possible?

    Image w/ description tooltip v2.0

    http://www.dynamicdrive.com/dynamici...agetooltip.htm

    This script is working great but I was wondering if there is a .js mod to allow the tooltip image on hover to fade in and out?

    Thank you.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,070
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    Using a text only editor like NotePad, look inside ddimgtooltip.js and change these two functions as shown (highlighted):

    Code:
    	showbox:function($, $tooltip, e){
    		$tooltip.stop(true, true).fadeIn('slow')
    		this.positiontooltip($, $tooltip, e)
    	},
    
    	hidebox:function($, $tooltip){
    		$tooltip.stop(true, true).fadeOut('slow')
    	},
    Save and use that version of the script.

    The browser cache may need to be cleared and/or the page refreshed to see changes.

    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2008
    Posts
    31
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    Worked great in all browsers, thanks !!!

Similar Threads

  1. Image w/ description tooltip - Description hidden
    By Lady Rogue in forum Dynamic Drive scripts help
    Replies: 9
    Last Post: 01-25-2010, 04:39 PM
  2. Replies: 0
    Last Post: 11-26-2008, 10:32 AM
  3. Image w/ description tooltip or Image Thumbnail Viewer
    By rizquine in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 04-07-2006, 04:38 PM

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
  •