alex
alex

Reputation: 4914

Image in li tag as part of a jquery carousel are first show before they are part of the carousel?

i have problem with roundabout.js in IE. In IE the images are first loaded as a typical ul list and then they are put in the jQuery carousel. Chrome will put the images straight into the jquery carousel.

How can i hide the images before the carousel is intialized or any other work around?

regards,

Upvotes: 0

Views: 405

Answers (1)

Narayana Nagireddi
Narayana Nagireddi

Reputation: 749

You can hide the images using visibility property. In CSS

body{visibility:hidden;}

And then using jQuery,

$(document).ready(function() {
$('body').css('visibility', 'visible');
});

Upvotes: 1

Related Questions