jQuery cycle not working in IE8 - IE10

2019-09-03 03:49发布

Can someone help me figure out why a jQuery cycle call isn't working in the following website?

http://www.tamarackwellington.com/#floorkey

The problem is with the cycle setup under the "Floor Key" section. For some reason only the arrows show up in IE8 to IE10, and the floorplans never do.

I had this code in a document.ready(), but that seemed to cause the same problem in other browsers as well. Putting it in a window.load() solved it, except in IE8 to IE 10.

$(window).load(function() {

  $('#loadSold').show();

  $('#sold_slide').cycle({ 
        fx:     'scrollHorz', 
        speed:  'fast', 
        timeout: 0, 
        next:   '#nextsold', 
        prev:   '#prevsold'
    });
});

1条回答
放我归山
2楼-- · 2019-09-03 04:26

Seems that adding a width / height value to each image in the slideshow did the trick.

查看更多
登录 后发表回答