View Full Version : Can't get other script to work with image tooltip script

06-21-2007, 12:37 AM
1) Script Title: Image with tooltip

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagetooltip.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


06-21-2007, 01:01 PM
:) help me :confused:

06-22-2007, 02:13 AM
You have an onload conflict. Get rid of this from the tooltip script:

window.onload = initTip;

Add to your body tag so it looks like this:

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

06-25-2007, 07:48 PM
Thanks a million John. I knew you could help, you're the best!

06-25-2007, 08:22 PM
Your suggestions worked fine here:

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.

06-27-2007, 04:38 AM
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:


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.

06-27-2007, 02:06 PM
Ok, thanks John.