jQuery cycle not working in IE8 - IE10

末鹿安然 提交于 2020-01-17 05:19:08

问题


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:


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



来源:https://stackoverflow.com/questions/23891878/jquery-cycle-not-working-in-ie8-ie10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!