Results 1 to 6 of 6

Thread: I Need Help

  1. #1
    Join Date
    Sep 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up I Need Help

    i'm new to this stuff but i know the basics....i think...lol...but anyways i'm trying one of the free scripts...(Image w/ description tooltip) and i can't figure out how to put my own images in there...will someone please help me! thanx....Josh

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the script in question in the future, in this case: http://www.dynamicdrive.com/dynamici...agetooltip.htm

    By putting images, do you mean replacing the text links that activiate the tooltip with images instead? If so, simply replace the HTML from:

    Code:
    <a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">Link 1</a><br>
    to:

    Code:
    <a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()"><img src="myimage.gif"></a><br>

  3. #3
    Join Date
    Sep 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i'm talking about once you put your pointer on the link and the pic comes up...well ita a duck....how do i chang that picture? thanx again....josh

  4. #4
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Joshua,

    Simply change the names of the image files from red_baloon.gif to whatever you desire, the same with the other 2 lines.

    Code:
    messages[0] = new Array('red_balloon.gif','Here is a red balloon on a white background',"#FFFFFF");
    messages[1] = new Array('duck2.gif','Here is a duck on a light blue background.',"#DDECFF");
    messages[2] = new Array('test.gif','Test description','black','white');
    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  5. #5
    Join Date
    Sep 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down I've done that

    i've done that but it still doesn't show up the pic i have chosen....does the type of pic (.jpg or gif) matter in this sitituation? Thanx for all your help josh

  6. #6
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try absolute rather than relative image locations, for example

    Code:
    www.imagehost.com/imagefolder/image.gif
    instead of

    Code:
    image.gif
    Regards
    cr3ative
    Last edited by cr3ative; 09-26-2004 at 12:27 PM. Reason: AUTOURL isn't wanted.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

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
  •