jQzoom IE9 Bug - Error

自闭症网瘾萝莉.ら 提交于 2019-12-04 18:30:33

i have the same issue. what i did is the following.

    if (img[0].complete || $.browser.msie) {
        //fetching data from sallimage if was previously loaded
        smallimage.fetchdata();
        if ($(".zoomPad", el).length == 0) obj.create();
    }

it works now.

jqZoom was not working for me in IE8, So I fixed the problem as follows: In Stage class => this.append function, there is a variable 'thickness' which is defined inside a condition. I defined it outside the condition and now its working fine for me.

            var thickness = 1;
            if (settings.zoomType == 'innerzoom') {
                this.node.css({
                    cursor: 'default'
                });
                thickness = (smallimage.bleft == 0) ? 1 : smallimage.bleft;
                $('.zoomWrapper', this.node).css({
                    borderWidth: thickness + 'px'
                });    
            }

I replaced jQzoom on big online store with cloud zoom. Everything seems to work fine and a little bit smoother now. Maybe you'll like it too: http://www.professorcloud.com/mainsite/cloud-zoom.htm

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