Results 1 to 7 of 7

Thread: Can't get other script to work with image tooltip script

  1. #1
    Join Date
    Apr 2007
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation Can't get other script to work with image tooltip script

    1) Script Title: Image with tooltip

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

    3) Describe problem: I was able to add this script fine but then it messed up another script I have on the page that scrolls the content. Not sure why it doesn't work for me. I tried puting the js in an external file and that made the tooltip not work. Please help.

    See working tooltip but not working scroller here:http://www.inkbytedesign.com/tribby/komarin.html

    See working scroller here (but I had to remove the tooltip script):http://www.inkbytedesign.com/tribby/komarin2.html

    Thanks.

  2. #2
    Join Date
    Apr 2007
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Any thoughts yet... i really need to finish this

    help me

  3. #3
    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

    You have an onload conflict. Get rid of this from the tooltip script:

    Code:
    window.onload = initTip;
    Add to your body tag so it looks like this:

    Code:
    <body onload="eventLoader();initTip();">
    There could be other problems.

    Also, even though it doesn't seem to be hurting anything, the tooltip script belongs in the head of the page.
    - John
    ________________________

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

  4. #4
    Join Date
    Apr 2007
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Worked!

    Thanks a million John. I knew you could help, you're the best!
    B.

  5. #5
    Join Date
    Apr 2007
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy OK...now i have anther problem.

    Your suggestions worked fine here:
    http://www.inkbytedesign.com/tribby/komarintest.html

    But when i place it where I ultimately want it the scroll is way up to the left and it doesnt work either. See here: http://www.inkbytedesign.com/tribby/komarin.html


    Help again. Thank you.

  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

    Even your 'working' demo page doesn't work here in Opera or IE. I imagine that you are using a Mac. I think there is a function or variable missing or somehow unavailable:

    standardbody

    There probably are some other problems for those browsers. As far as positioning the output of js/gscroller.js goes, I am not at all familiar with that script. It isn't a DD script. You could try opening a new thread in the javascript section for that.

    When I have more time, I may look further into all of this.
    - John
    ________________________

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

  7. #7
    Join Date
    Apr 2007
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Ok, thanks John.

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
  •