PDA

View Full Version : Step Carousel Viewer Image Positioning Issue



bluepupae
08-13-2010, 05:28 AM
1) Script Title: Step Carousel Viewer v1.9

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

3) Describe problem: I'm using the Step Carousel with the width set within inline CSS. It seems to be having problems properly positioning successive images. In Safari, it only works after I have visited the page and click the link from the menu, but not when I click refresh or when first visiting the page. It seems that it does not always get the width information before loading up the carousel as it stacks the images. It works a little better in Firefox, but still exhibits the same problem initially. I've tried moving the code that sets up the carousel to the bottom of the page or putting it inside of $(document).ready(function(){ }), but neither helped.

The page is here:
http://www.bluepupae.com/test/janedillon/gallery.php

Thanks.

ddadmin
08-13-2010, 08:05 AM
There should be an explicit unit following each of your width values for the carousel DIVs, for example:


<div class="panel" style="width:458px;">

bluepupae
08-16-2010, 06:33 AM
Of course it would be something simple like that. Works great now. Thanks!