PDA

View Full Version : Sideways scrolling (bad I know)



Talus
Jul 1st, 2002, 09:44 AM
Let's says that I've decided it's necessary to scroll sideways inside a frame.

I can build the superwide table and that's all great. Blah.

Is there anyway to link across that table? Say (in this case) to jump from image 1 to image 4?

I tried putting an anchor all over the place around image 4, but couldn't reliably link to it (ie: it wouldn't appear in the center). I could offset everything one (IE: click 4 links 5) that's just messy.

Thoughts?:confused:

joh6nn
Jul 1st, 2002, 09:52 AM
<A HREF="javascript:scrollTo(x,y);">click click</A>

<A HREF="javascript:scrollBy(dx,dy);">click click</A>

where x and y are specific coordinates, and dx and dy are amounts, positive or negative.

Talus
Jul 1st, 2002, 08:33 PM
Thank you. That's exactly what I was looking for, but never thought of.