diff options
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 | } | ||