Chuncho
10-16-2011, 06:53 PM
1) Script Title:
Step Carousel Viewer v1.9
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Hi, I have this script working on Firefox 7.0.1 and IE9, it works in both of them with no problems, but for some reason in Google Chrome 14.0.835.202 m it doesn't work, all the images are stacked. I've been looking in the function alignpanels and if I do an alert to check the value 'paneloffset' has, it always shows lower values than Firefox or IE9 show (FF & IE9 show the same values).
Example code :
alignpanels:function($, config){
var paneloffset=0
config.paneloffsets=[paneloffset] //array to store upper left offset of each panel (1st element=0)
config.panelwidths=[] //array to store widths of each panel
config.$panels.each(function(index){ //loop through panels
var $currentpanel=$(this)
alert(paneloffset);
// etc...
In that case, Firefox & IE9 show 0 (which is correct), 391, 750, 938, etc, whereas Chrome shows 0, 176, 352, 491.
I can't use width:'fixedValue' for panels, since images widths vary a lot.
Edit : I forgot to say that I tried something I saw in some forum, don't remember where. It's changing the line
jQuery(document).ready(function($){
to :
jQuery(window).bind("load", function($){
and it worked partially. The images were correctly aligned, but the carousel stopped working, the buttons didn't work, so I couldn't see if the others images were correctly loaded and aligned in the belt.
Here you can see the website : http://www.cuadrosfamilia.com/www2
Step Carousel Viewer v1.9
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Hi, I have this script working on Firefox 7.0.1 and IE9, it works in both of them with no problems, but for some reason in Google Chrome 14.0.835.202 m it doesn't work, all the images are stacked. I've been looking in the function alignpanels and if I do an alert to check the value 'paneloffset' has, it always shows lower values than Firefox or IE9 show (FF & IE9 show the same values).
Example code :
alignpanels:function($, config){
var paneloffset=0
config.paneloffsets=[paneloffset] //array to store upper left offset of each panel (1st element=0)
config.panelwidths=[] //array to store widths of each panel
config.$panels.each(function(index){ //loop through panels
var $currentpanel=$(this)
alert(paneloffset);
// etc...
In that case, Firefox & IE9 show 0 (which is correct), 391, 750, 938, etc, whereas Chrome shows 0, 176, 352, 491.
I can't use width:'fixedValue' for panels, since images widths vary a lot.
Edit : I forgot to say that I tried something I saw in some forum, don't remember where. It's changing the line
jQuery(document).ready(function($){
to :
jQuery(window).bind("load", function($){
and it worked partially. The images were correctly aligned, but the carousel stopped working, the buttons didn't work, so I couldn't see if the others images were correctly loaded and aligned in the belt.
Here you can see the website : http://www.cuadrosfamilia.com/www2