I understand the latest version of IE9 is available for public release.
So I checked my shop, and the opencart demo, and noticed the popup lightbox falls off the screen if the shop is viewed in the latest version (IE9 9.0.8112.16421, win7 64 bit) ...anyone else see this?
I only bothered to check because I was looking at a magento store, and their image popup wasn't functioning at all in IE9!
Fancybox seems to be all right in IE9 (checked qphoria's site)
It's not really a bug but thought it worth a mention.
So I checked my shop, and the opencart demo, and noticed the popup lightbox falls off the screen if the shop is viewed in the latest version (IE9 9.0.8112.16421, win7 64 bit) ...anyone else see this?
I only bothered to check because I was looking at a magento store, and their image popup wasn't functioning at all in IE9!
Fancybox seems to be all right in IE9 (checked qphoria's site)
It's not really a bug but thought it worth a mention.
It is not a bug but an issue with your template because it was build BEFORE IE9 came out 

Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
ah yes, you're right! It IS a template issue, thanks i2Paq.
The only problem is, that screenshot is from the Opencart demo store
So the default Opencart template is showing the issue, as well as my shop...
Maybe I'll install Q's fancybox replacement now....though who cares about IE anyway!
The only problem is, that screenshot is from the Opencart demo store

Maybe I'll install Q's fancybox replacement now....though who cares about IE anyway!

...as a PS, for anyone who cares : it looks like magento users are having slightly more serious problems with IE9.
A suggested short term fix was to use
...so if I start losing sleep over thickbox (very unlikely), maybe this is a good band-aid
A suggested short term fix was to use
Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=8" />
Hi leook2001, well Qphoria's fancybox mod thread gives detailed instructions for replacing thickbox with fancybox. The thread is a year old, so there are newer versions of fancybox available.
The other option was an idea picked up from here. This tag is placed right after the <head> tag in your header file (same file the fancybox mod uses). It's meant to emulate IE8 if the user has IE9.
I tried it briefly, and it seemed to fix the problem, but I have not tested it thoroughly - so use at your own risk.
The other option was an idea picked up from here. This tag
Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=8" />
I tried it briefly, and it seemed to fix the problem, but I have not tested it thoroughly - so use at your own risk.

The reason thickbox is messing up in IE9 is it is doing a test for IE6 that IE9 doesn't process correctly.
Since IE6 is so old, I figure the best thing to do is just remove this test as it is no longer needed. Look for the following lines around line number 283. (Yours may be different as I have modified my thickbox code a bit, but it will be very close!)
if ( !(jQuery.browser.msie && typeof XMLHttpRequest == 'function')) { // take away IE6
$("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
}
Take away the first and third lines of this bunch leaving you with the following line:
$("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
The if statement first checks to see if you are using IE. If you are, it checks the typeof XMLHttpRequest to see if the version of IE can handle XML - which IE6 can not. It would return false to the second part of the test and not allow the marginTop to be changed.
IE9 returns true for the first test as all IE browsers do, but it also returns true to the second test the same as IE7 and IE8, but still doesn't allow the change to marginTop to execute. Why? I don't know. The fix is to remove the test altogether. If someone is STILL using IE6, they REALLY need to upgrade.
If you want to keep this check in, modify it to use a different way to check for IE6. How you do is up to you.
I hope that this helps you guys out! I registered just to post this for you!
Since IE6 is so old, I figure the best thing to do is just remove this test as it is no longer needed. Look for the following lines around line number 283. (Yours may be different as I have modified my thickbox code a bit, but it will be very close!)
if ( !(jQuery.browser.msie && typeof XMLHttpRequest == 'function')) { // take away IE6
$("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
}
Take away the first and third lines of this bunch leaving you with the following line:
$("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
The if statement first checks to see if you are using IE. If you are, it checks the typeof XMLHttpRequest to see if the version of IE can handle XML - which IE6 can not. It would return false to the second part of the test and not allow the marginTop to be changed.
IE9 returns true for the first test as all IE browsers do, but it also returns true to the second test the same as IE7 and IE8, but still doesn't allow the change to marginTop to execute. Why? I don't know. The fix is to remove the test altogether. If someone is STILL using IE6, they REALLY need to upgrade.
If you want to keep this check in, modify it to use a different way to check for IE6. How you do is up to you.
I hope that this helps you guys out! I registered just to post this for you!

In case anybody else has problems with Thickbox, here is a patched version of the latest 3.1 version which works fine on my site, including IE9.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thanks JNeuhoff! Your fix worked for me too. Thanks for sharing.JNeuhoff wrote:In case anybody else has problems with Thickbox, here is a patched version of the latest 3.1 version which works fine on my site, including IE9.
Who is online
Users browsing this forum: No registered users and 55 guests