How to create an endless picture-show without marquee?

…衆ロ難τιáo~ 提交于 2019-12-11 13:42:10

问题


I wrote a module for Joomla! 1.5 which shows the pictures (banners) with the most clicks. Now I want to show this list scrolling on the home-site. With "marquee" there is a break after the last picture. I've found an advice which said I'll have to create a div-container with overflow: hidden and a second div with javascripte which changes the positions of the pictures. Can anyone help me to write this code, because I don't get javascripte?


回答1:


There are plenty of free ones you can get that are already written for you.

Try one of these jquery scripts to do what you are looking for...

http://plugins.jquery.com/project/Plugins/category/48




回答2:


The best way to implement such feature is looking to this great JQuery Video tutorial and you will have a great product :)

URL: JQuery Spy effect

MOV: Jquery Spy effect

Hope that is exactly what you are looking for.



来源:https://stackoverflow.com/questions/415821/how-to-create-an-endless-picture-show-without-marquee

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!