Posted by Bill on 04/21/06 15:35
I'm using code from http://www.hypergurl.com/trailingtext.html to make a
small mouse tail with some text. When I originally designed my page using
tables to format it the code worked perfectly. I've recently been
redesigning the page to use only css to format so I can keep all of the
non-content stuff out of the main html code but I've run into a problem.
Before if you scrolled down the page the text kept up with the mouse, being
just behind it, now with the tables gone if I scroll down the text gets
offset above the cursor the amount that I've scrolled the screen. It does
the same if I scroll horizontally by putting the text ahead of the cursor
the same amount I've scrolled left. I'm not that conversant with
JavaScript, but I'm trying, so could someone either tell me what is the
likely problem or at least point me in the right direction so I can figure
it out myself? I've emailed the author of the original code but so far no
response so I'm hoping I can get some enlightenment here.
Thanks in advance.
Bill
P.S. I've done some digging into the script and it looks like it is taking
the offset for the viewport into consideration but I'm not seeing it on the
screen. I'm really at an impasse here!
[Back to original message]
|