From 3dc388ab551020bb0e5b5ea2f9f91d306fb6fe6e Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 5 Dec 2011 00:21:26 -0200 Subject: Aditional files --- s6/jquery.microsoft.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 s6/jquery.microsoft.js (limited to 's6/jquery.microsoft.js') diff --git a/s6/jquery.microsoft.js b/s6/jquery.microsoft.js new file mode 100644 index 0000000..f85af8a --- /dev/null +++ b/s6/jquery.microsoft.js @@ -0,0 +1,31 @@ + + +$(document).ready( function() { + + // 1) remove all content + $( 'body > *' ).remove(); + + // 2) show banner + $( "
" ).html( + "

" + + "Microsoft's Internet Explorer browser has no built-in vector graphics machinery " + + "required for 'loss-free' gradient background themes." + + "

" + + "

" + + "Please upgrade to a better browser " + + "such as Firefox, Opera, " + + "Chrome, Safari or others " + + "with built-in vector graphics machinery and much more. " + + "(Learn more or post questions or comments " + + "at the Slide Show (S9) project site. Thanks!)" + + "

" + ) + .css( { + border: 'red solid thick', + padding: '1em', + fontFamily: 'sans-serif', + fontWeight: 'bold' } ) + .prependTo( 'body' ); + } +); + -- cgit v1.2.3