在网站上滚动图像 [英] scrolling image on website
问题描述
我有这张.jpg图片的尺寸为700 x 200.我想做的是在300 x上显示
200窗口,让它左右滚动,返回和
。
任何人都可以帮助这个新手吗? TIA
Hi,
I have this .jpg picture that''s 700 x 200. What I wanna do is display
it on a 300 x 200 window, and have it scroll left and right, back and
forth.
Can anyone help this newbie? TIA
推荐答案
Major Man于2004年8月10日在comp.lang.javascript中写道 :
Major Man wrote on 10 aug 2004 in comp.lang.javascript:
我有这张.jpg图片'700 x 200.我想做的是在一个300 x 200的窗口上显示它,并让它左右滚动,返回和
第四。
任何人都可以帮助这个新手吗? TIA
I have this .jpg picture that''s 700 x 200. What I wanna do is display
it on a 300 x 200 window, and have it scroll left and right, back and
forth.
Can anyone help this newbie? TIA
Google可以:
http://www.google.com/search?q=scrol...age+javascript
-
Evertjan。
荷兰。
(请在我的电子邮件地址中将x'变为点数)
Google can:
http://www.google.com/search?q=scrol...age+javascript
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
2004年8月10日12:32:35 GMT,Evertjan。
< ex *********** ***@interxnl.net>写道:
On 10 Aug 2004 12:32:35 GMT, "Evertjan."
<ex**************@interxnl.net> wrote:
Google可以:
http://www.google.com/search?q=scrol...age+javascript
Google can:
http://www.google.com/search?q=scrol...age+javascript
好的,我上面试过Google。这些网站都没有找到我想要的东西,但是这个网站非常接近:
http://www.qiksearch.com/javascripts...ling_image.htm
唯一的问题是,我不希望图像一直滚动到浏览器边缘然后消失....我需要图像
显示在一个300x200的窗口中,并且只在该窗口内滚动。
是否可以略微改变qiksearch.com代码来做
这个?
Okay I tried Google per above. None of those sites have what I''m
looking for, but this one comes very close:
http://www.qiksearch.com/javascripts...ling_image.htm
The only thing is, I don''t want the image to scroll all the way to
the edge of the browser and then disappear.... I need the image
displayed in a 300x200 window, and scroll within that window ONLY.
Would it be possible to slightly alter the qiksearch.com code to do
this?
> http://www.qiksearch.com/javascripts...ling_image.htm
在NS工作
R.
> http://www.qiksearch.com/javascripts...ling_image.htm
Doesn''t work in NS
R.
这篇关于在网站上滚动图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!