Results 1 to 6 of 6

Thread: Need HTML config help

  1. #1
    Join Date
    Jan 2007
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need HTML config help

    1) Script Title: IMAGE W/DESCRPITION TOOL TIP

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...getooltip.htm#

    3) Describe problem: when mousing over text link, no image appears. Please visit my HTML here: http://www.danscartoons.com/ham_radio_cartoons.htm & scroll down to table just underneath PayPal button. I up[loaded my folder with appropriate images etc. But images won't appear when mousing over text . . . only when you click the text...anything I am doing wrong?

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    You have to call the tooltip like so:

    Code:
    <a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">HAM RADIO CARTOON 1</a>
    Change the part in red to the number in the Array (in the javascript code located in the head of the document) that you want to display in the tooltip.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Jan 2007
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi TestingSite....That worked wonders....Now I am wondering why that second image wont show up there, it's just a little black square...did I do anything wrong you can see? Otherwise, the rest of the images are kicking gluteous....

    see: http://www.danscartoons.com/ham_radio_cartoons.htm

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    On this line in your code:

    Code:
    messages[1] = new Array('ham_radio_cartoons/color-ham-pod','To license this cartoon, email: syndicator@gmail.com for fee quote',"#000000");
    You did not assign a valid image (the part that is in red above).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Jan 2007
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thank You

    YOU REALLY KICKED GLUTEOUS MAXIMUS on this one, TESTING SITE...thanks again...

    check it out: http://www.danscartoons.com/ham_radio_cartoons.htm

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It would be even better if you changed:

    Code:
    <a href="#" onmouseover="doTooltip(event, 0)"onmouseover="hideTip()">HAM RADIO CARTOON 1</a>, <a href="#" onmouseover="doTooltip(event, 1)"onmouseover="hideTip()">HAM RADIO CARTOON2</a>, <a href="#" onmouseover="doTooltip(event, 2)"onmouseover="hideTip()">HAM RADIO CARTOON 3</a>,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#" onmouseover="doTooltip(event, 3)"onmouseover="hideTip()">HAM RADIO CARTOON4</a>
    to:

    Code:
    <a href="#" onmouseover="doTooltip(event, 0) "onmouseout="hideTip()">HAM RADIO CARTOON 1</a>, <a href="#" onmouseover="doTooltip(event, 1) "onmouseout="hideTip()">HAM RADIO CARTOON2</a>, <a href="#" onmouseover="doTooltip(event, 2) "onmouseout="hideTip()">HAM RADIO CARTOON 3</a>,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#" onmouseover="doTooltip(event, 3) "onmouseout="hideTip()">HAM RADIO CARTOON4</a>
    And, set this variable:

    Code:
    var tipWidth= 160;
    to the width of the tip (about 550).
    - John
    ________________________

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

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
  •