简体   繁体   中英

Creating a self-contained JavaScript “slider”

At the risk of showing the world what a novice I am, here goes:

I'm working on a site with a fluid (100%) width layout. On a particular page, I'd like to have a slider (although I guess it's really more of a fader) with slides containing text and HTML so they look like one more part of the page, but when a user clicks on a particular word or image on one slide, that will skip to another designated slide. Here's a graphic which hopefully explains what I'm going for:

在此处输入图片说明

http://marcatectura.com/wp-content/uploads/2012/08/Slider-graphic.jpg

I've been messing around with a JSfiddle for days, but just can't seem to achieve the desired effect: http://jsfiddle.net/Koubenec/yxPQV/50/

Any help from the far more experienced folks on stackoverflow would be greatly appreciated.

基于Coda Slider(位于http://jqueryfordesigners.com/coda-slider-effect/ )的代码正是我想要的!

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