jQzoom IE9 Bug - Error

核能气质少年 提交于 2019-12-12 09:17:44

问题


I have a problem with the following page.

http://nortlander.dk/frankrig/avoriaz/pistekort/

I have installed the jQzoom plugin, and everything works fine in all other browsers than IE9, are there any know bugs, issues or errors that somone is not telling me about :)

All help would be apriciated. Thanks


回答1:


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.




回答2:


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



回答3:


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



来源:https://stackoverflow.com/questions/7284438/jqzoom-ie9-bug-error

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