PDA

View Full Version : [RESOLVED] js tool tip script


bman
07-09-2007, 08:18 AM
I'm using a rather lengthly, grabbed-from-the-internet, tool tip script to display upcoming events on my web site (http://www.FlaCarShows.com). The command to display is onMouseOver, and I want to use the onClick command, so that an errant mouse doesn't pop up a layer you're not interested in.

It works as it should (opens the layer onClick), but if the page is longer than the browser window, when you click the link, the layer appears, and the page jumps to the top. Using MouseOver, which is how the script was written, it doesn't.

Any suggestions on how to make the display work properly using an OnClick command, or if there's a better script out there that'll serve my purpose, please point me to it!

As always, thanks in advance!

bman
07-13-2007, 04:51 PM
Rather than fight this code, I've found a much shorter, simpler version that works even better!