开发者

How can I make jquery cycle show just a little bit of the next slide

开发者 https://www.devze.com 2023-03-24 01:23 出处:网络
I have a sliding (horizontal) gallery using jquery cycle: http://jquery.malsup.com/cycle/ It works fine except one piece I want to add.I want to have slide 1 visible, and slide 2 visible but just bar

I have a sliding (horizontal) gallery using jquery cycle: http://jquery.malsup.com/cycle/

It works fine except one piece I want to add. I want to have slide 1 visible, and slide 2 visible but just barely... You can see my current progress at http://www.4amnew.4thavenuemedia.com/client/bellevue-downtown-association/

The next button is just off the right side of the image. I know I can put images into different div class="slide" but that doesn't achieve the look and feel. I want an option like show 1.2 images.开发者_StackOverflow..


You may want to change the display:none; property that's added to all the slides. That should solve your problem.


This is relatively easy to achieve with CSS only, by changing where the "overflow: hidden" sits.

I wrote this up in to a Q&A here: With jQuery Cycle 2 how do I show a part of the next and previous slides

0

精彩评论

暂无评论...
验证码 换一张
取 消