简体   繁体   中英

jQuery cycle not working in IE8 - IE10

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'
    });
});

似乎向幻灯片中的每个图像添加宽度/高度值就可以了。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM