简体   繁体   中英

how to make image slider in dojo?

I've seen this image slider on the front page of http://www.ibm.com/us/en/ and I want to have one like that for my site. (After a timeout, the first image slides out of the screen, then the second image flies out after it, and then a new pair fly in).

I've seen that IBM uses Dojo not jQuery. Is this built in effect in dojo?

I have knowledge in javascript (but not any library like jQuery/dojo) and I can make it myself the hard-way. But I wanted to know first if there is anything built in to do it?

我认为使用dojox.widget.Rotator甚至dojox.widget.AutoRotator可能会更好。

The image slider on the IBM.com front page is built using Dojo, but not a out-of-box component of Dojo library. It's a customized component.

If you want to create image sliders using Dojo, take a look at existing out-of-box components in DojoX library ( dojox.image ). dojox.image.SlideShow is a good starting point.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM