PDA

View Full Version : The arrows are moving on the Step Carousel if resized



eobyone
08-24-2008, 05:12 AM
1) Script Title: Step Carousel Viewer v1.4

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm

3) Describe problem: I installed your script and everything is working excellent as it is suppose to but I have one problem and I'm not able to correct it in the javascript.

The arrows you just added are positioned absolute in the javascript and I'm using a div wrapper with 790px wide and margin 0 auto. If you have your browser not in full screen and then move it to full screen the arrows move from the position they are set at. Can you maybe make them into a div like the panels so it will not move when placed in a div that is centered or what can I do to have them not move. You can see what I mean at the url below.

By the way awesome script just a few changes and wow.

Oh by the way if you make the browser smaller in height on the demo page they move also.

http://www.obymako.com/WFone/default.html

Thanks eobyone

ddadmin
08-24-2008, 08:37 AM
Try finding the line below inside the .js file:


$(window).bind("load", function(){

and change it to:


$(window).bind("resize", function(){