I’m looking for alternatives to Supersized. I’m currently using version 3.0 to show some rotating background images and found two problems on Internet Explorer.
- The transicion is far from smooth, and is very slow. On Chrome and Firefox this works ok.
- Some times, the background images are vertically enlarged and deformed.
Does anyone knows an alternative, or a tweak to fix those problems?.
Use any slider and float it behind the content of the page using
z-index. I like Nivo Slider when I’m just sliding images, and bxSlider when I need to slide a div or ul with arbitrary content.The element you’re applying
z-indexto must beposition: relative;orposition: absolute. One thing to note aboutposition: absolute;is that it will position the element with respect to the first parent element that isposition: relative;orposition: absolute. That may sound confusing, so how about an example:Put your slider inside
<body>and wrap it in a div:Then some css:
And that should do it. Normally you have to define a width for your slider images, but with some fiddling I think you can get it working. In my own projects I’ve been centering the slider to the page, not taking up the entire background, so your mileage may vary.