Hi guys -
Is it possible to make this slideshow responsive?
All forms of media queries I've tried have no affect on it.
- Thanks
Code:#slideshow { width:1920px; height:1080px; float:right; position:fixed; z-index:0; background-repeat: no repeat; background-position:center center; background-attachment:fixed; -webkit-background-size:100%; -moz-background-size:100%; -o-background-size:100%; background-size:100%; -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover; background-size:cover; }Code:<div id="slideshow"></div> <!-- BEGIN KEN BURNS SLIDER --> <script> $('#slideshow').crossSlide({ fade: 0.001 }, [ { src: '/imgs/billy-joe-conor-lg.jpg', alt: 'Billy Joe Conor', from: '40% 15% 1.7x', to: '15% 30% 1.0x', time: 8 }, { src: '/imgs/billy-joe-conor-lg.jpg', alt: 'Billy Joe Conor', from: '15% 30% 1.0x', to: '15% 30% 1.0x', time: 1 } ], function(idx, img, idxOut, imgOut) { if (idxOut == undefined) { // starting single image phase, put up caption $('div.caption').text(img.alt).animate({ opacity: .7 }) } else { // starting cross-fade phase, take out caption $('div.caption').fadeOut() } }); </script> <!-- END KEN BURNS SLIDER -->



Reply With Quote

Bookmarks