Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS background slideshow ? Re: background slideshow ?

#125701
sayedtaqui
Member

To make that happen you need to remove the srolling of the page and set the height and width of the slidshow according to the browser’s height
I wrote the script of the slideshow for you http://codepen.io/sayed2x2/pen/qhjEf
and I have given the height and the width of the slideshow in css and its not according the browser’s size. So you would need to remove that and take the height from javascript like this.

var h=window.innerHeight;
var w= window.innerWidth;
document.getElementById(‘slider’).style.height=h;
document.getElementById(‘slider’).style.width=w;