Hello I have a slight problem with code that have been trying to work out when my images load up in back ground the first image is plain white doesn't start at first image.
www.mwbcomputers.com.au and flickers funny
<script language="javascript">
// Super descriptive variable names!!!
var a = self.setInterval('roastBeef()', 4000);
var b = 0;
var c = [
'http://mwbcomputers.com.au/catalog/view/theme/mwbcomputers/image/bg1.png',
'http://mwbcomputers.com.au/catalog/view/theme/mwbcomputers/image/bg2.png',
];
// I shouldn't have used these massive background images!!!
function roastBeef(){
b = (b+1) % c.length ;
return $('body').css('background', 'url("' + c[b] + '") no-repeat center center fixed');
}
</script>