From 24503e3abe705acde2df159aeae61be0d009f92e Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 19 Nov 2008 17:27:03 -0500 Subject: Imported sources --- theme/js/jquery.ie6blocker.js | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 theme/js/jquery.ie6blocker.js (limited to 'theme/js/jquery.ie6blocker.js') diff --git a/theme/js/jquery.ie6blocker.js b/theme/js/jquery.ie6blocker.js new file mode 100644 index 0000000..222f335 --- /dev/null +++ b/theme/js/jquery.ie6blocker.js @@ -0,0 +1,34 @@ +var IE6 = (navigator.userAgent.indexOf("MSIE 6")>=0) ? true : false; +if(IE6){ + + $(function(){ + + $("
") + .css({ + 'position': 'absolute', + 'top': '0px', + 'left': '0px', + backgroundColor: 'black', + 'opacity': '0.75', + 'width': '100%', + 'height': $(window).height(), + zIndex: 5000 + }) + .appendTo("body"); + + $("


Sorry! This page doesn't support Internet Explorer 6.

If you'd like to read our content please upgrade your browser or subscribe to our RSS feed.

") + .css({ + backgroundColor: 'white', + 'top': '50%', + 'left': '50%', + marginLeft: -210, + marginTop: -100, + width: 410, + paddingRight: 10, + height: 200, + 'position': 'absolute', + zIndex: 6000 + }) + .appendTo("body"); + }); +} -- cgit 1.4.1