开发者

IE8 sends itself to background

开发者 https://www.devze.com 2023-01-08 17:05 出处:网络
certain page (product page) on my website causes IE8 to hide behind other maximized windows. Please have a look at http://www.eggheadstaging2.co.uk/Tulips/Flowers/Tulip-Sensation.aspx. There is some j

certain page (product page) on my website causes IE8 to hide behind other maximized windows. Please have a look at http://www.eggheadstaging2.co.uk/Tulips/Flowers/Tulip-Sensation.aspx. There is some jquery which I suspect is the problem in combina开发者_C百科tion with IE. Any help appreciated!


You got some ajax involved, so i wasn't able to have a fully working copy of the page locally. But i got enough to replicate the error.

And the error is definitely within the "scrollShow" code.

By changing this:

$('#scrollshow_screen').scrollShow({
    view: '#scrollshow_view',
    content: '#scrollshow_images',
    easing:'backout',
    //wrappers: 'link,crop',
    wrappers: 'link',
    navigators:'a[id]',
    navigationMode:'sr',
    circular:true,
    start:0
});

To this: (removing "start:0")

$('#scrollshow_screen').scrollShow({
    view: '#scrollshow_view',
    content: '#scrollshow_images',
    easing:'backout',
    //wrappers: 'link,crop',
    wrappers: 'link',
    navigators:'a[id]',
    navigationMode:'sr',
    circular:true
});

I removed the error, but i don't know if the script still works.

I could also remove the error by removing "view: '#scrollshow_view'", but i really don't think the script works without that part.

0

精彩评论

暂无评论...
验证码 换一张
取 消