By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,632 Members | 1,340 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,632 IT Pros & Developers. It's quick & easy.

Scrolling .jpeg picture in HTML?

P: n/a
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.

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
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

[1] http://www.w3.org/TR/2002/WD-css3-box-20021024/#marquee
--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.