I have this .jpg picture, it's about 700x200 (it's wide, but narrow
across top to bottom). What I wanna do is display it on a 300x200
window, and have it pan across back and forth.
I've seen it done on other websites, but whenever I do "View Source"
and try to find the code that does it, I can't see anything. I think
it's hidden in another java code section or something.
Can anyone help me? TIA
Posted by Lachlan Hunt on August 10, 2004, 8:58 am
Please log in for more thread options
Major Man wrote:
> Hi,
>
> I have this .jpg picture, it's about 700x200 (it's wide, but narrow
> across top to bottom). What I wanna do is display it on a 300x200
> window, and have it pan across back and forth.
So, use the scroll bar and pan it yourself. I'm not quite sure what you
mean, but I think your asking to have the image automatically move back
and forth. If I'm right, then don't do that. It will get very
irritation for the user, and the user is quite capable of using a scroll
bar. If I'm completely wrong about what you want, then please explain
better, and perhaps provide a link to a site which does what you want.
However, I think you have chosen the wrong newsgroup for your question.
To achieve the effect I think you're after, you either have to use
JavaScript or the CSS3 marquee properties [1] (NOT THE <marquee>
element!!!), but, AFAIK, they're not yet supported by anything, and they
only exist in a draft specification, so they shouldn't be used yet anyway.