Active
Project:
Views carousel
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2010 at 18:24 UTC
Updated:
22 Mar 2010 at 22:48 UTC
I like the way the following carousel uses an horizontal scrollbar when javascript is turned off
http://jqueryfordesigners.com/demo/infinite-carousel.html
I found that the css property overflow:auto; does the trick here.
.infiniteCarousel .wrapper {margin:0 40px;
min-height:10em;
overflow:auto;
position:absolute;
top:0;
width:315px;
}
I just thought that it could be of any help to post about it, as I didn't find any doc about it yet.
P.S. If it is in the doc or if this is a duplicate and I didn't find it, of course I'm gonna close this issue or feel free to do so. I'm going to try this and complete this post when I'm done.
Comments
Comment #1
Jerome F commentedHi, I added the following to my theme.css
Of course if you want to use it you need to change your classes widths an heights to fit in your theme.
I think it's cool to use a scrollbar when javascript is disabled.
Does anyone think that the views carousel doc could mention this ?
Comment #2
mfer commentedExcept min-height does not work in IE6. Since more people use IE6 than use FF 3.5 + 3.6 combined it still needs to be supported.
Comment #3
Jerome F commentedThat's right I just set height to a matching value and that's fine.