diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-21 16:33:33 -0500 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-21 16:33:33 -0500 |
| commit | 1c7e44811dde19488a870df68ff770a2f6def7f8 (patch) | |
| tree | b71346459b9b4f1ed8406fc94d5e8125f95354a9 /theme/js/jquery.ie6blocker.js | |
| parent | 43c62990c1cfc3a84462571551cabe9f464b601a (diff) | |
| download | fourisland-1c7e44811dde19488a870df68ff770a2f6def7f8.tar.gz fourisland-1c7e44811dde19488a870df68ff770a2f6def7f8.tar.bz2 fourisland-1c7e44811dde19488a870df68ff770a2f6def7f8.zip | |
Removed jQuery library
Because Four Island is now usable in IE, there is no reason to turn back IE 6 users. Thusly, the jQuery library has been deleted, which also saves bandwidth, as the file was 60K.
Diffstat (limited to 'theme/js/jquery.ie6blocker.js')
| -rwxr-xr-x | theme/js/jquery.ie6blocker.js | 34 |
1 files changed, 0 insertions, 34 deletions
| diff --git a/theme/js/jquery.ie6blocker.js b/theme/js/jquery.ie6blocker.js deleted file mode 100755 index 222f335..0000000 --- a/theme/js/jquery.ie6blocker.js +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | var IE6 = (navigator.userAgent.indexOf("MSIE 6")>=0) ? true : false; | ||
| 2 | if(IE6){ | ||
| 3 | |||
| 4 | $(function(){ | ||
| 5 | |||
| 6 | $("<div>") | ||
| 7 | .css({ | ||
| 8 | 'position': 'absolute', | ||
| 9 | 'top': '0px', | ||
| 10 | 'left': '0px', | ||
| 11 | backgroundColor: 'black', | ||
| 12 | 'opacity': '0.75', | ||
| 13 | 'width': '100%', | ||
| 14 | 'height': $(window).height(), | ||
| 15 | zIndex: 5000 | ||
| 16 | }) | ||
| 17 | .appendTo("body"); | ||
| 18 | |||
| 19 | $("<div><img src='/theme/images/no-ie6.png' alt='' style='float: left;'/><p><br /><strong>Sorry! This page doesn't support Internet Explorer 6.</strong><br /><br />If you'd like to read our content please <a href='http://getfirefox.org'>upgrade your browser</a> or <a href='/rss.php'>subscribe to our RSS feed</a>.</p>") | ||
| 20 | .css({ | ||
| 21 | backgroundColor: 'white', | ||
| 22 | 'top': '50%', | ||
| 23 | 'left': '50%', | ||
| 24 | marginLeft: -210, | ||
| 25 | marginTop: -100, | ||
| 26 | width: 410, | ||
| 27 | paddingRight: 10, | ||
| 28 | height: 200, | ||
| 29 | 'position': 'absolute', | ||
| 30 | zIndex: 6000 | ||
| 31 | }) | ||
| 32 | .appendTo("body"); | ||
| 33 | }); | ||
| 34 | } | ||
