Oba-san
- Join Date:
- Sep 2003
- Location:
- Ohio
- Posts:
- 62,757
- Plugin Contributions:
- 1
Enlarge product picture is cutoff
See how these settings work for you:
// if (navigator.appName == 'Netscape') i=20;
if (window.navigator.userAgent.indexOf('MSIE 6.0') != -1 && window.navigator.userAgent.indexOf('SV1') != -1) {
i=30; //This browser is Internet Explorer 6.x on Windows XP SP2
} else if (window.navigator.userAgent.indexOf('MSIE 6.0') != -1) {
i=0; //This browser is Internet Explorer 6.x
} else if (window.navigator.userAgent.indexOf('MSIE 8.0') != -1) {
i=55; //This browser is Internet Explorer 8.x
} else if (window.navigator.userAgent.indexOf('MSIE 9.0') != -1) {
i=30; //This browser is Internet Explorer 9.x
} else if (window.navigator.userAgent.indexOf('SeaMonkey') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
i=0; //This browser is SeaMonkey on Windows
} else if (window.navigator.userAgent.indexOf('Chrome') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
i=27; //This browser is Chrome on Windows
} else if (window.navigator.userAgent.indexOf('Safari') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
i=3; //This browser is Safari on Windows
} else if (window.navigator.userAgent.indexOf('Firefox') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
i=38; //This browser is Firefox on Windows
} else if (window.navigator.userAgent.indexOf('Mozilla') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
i=45; //This browser is Mozilla on Windows
} else if (window.navigator.userAgent.indexOf('Opera') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
i=25; //This browser is Opera on Windows
} else if (window.navigator.userAgent.indexOf('Safari') != -1 && window.navigator.userAgent.indexOf("Macintosh") != -1) {
i=0; //This browser is Safari on Mac
} else if (window.navigator.userAgent.indexOf('Firefox') != -1 && window.navigator.userAgent.indexOf("Macintosh") != -1) {
i=35; //This browser is Firefox on Intel Mac
} else if (window.navigator.userAgent.indexOf('Opera') != -1 && window.navigator.userAgent.indexOf("Macintosh") != -1) {
i=13; //This browser is Opera on Intel Mac
} else {
i=80; //This is all other browsers including Mozilla on Linux
}