From bfbb12cc9f1c1a14fc0f3989d82dfd1d7bad972e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Mar 2014 21:59:52 -0300 Subject: Adding presentation --- doc/s6/jquery.microsoft.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/s6/jquery.microsoft.js (limited to 'doc/s6/jquery.microsoft.js') diff --git a/doc/s6/jquery.microsoft.js b/doc/s6/jquery.microsoft.js new file mode 100644 index 0000000..f85af8a --- /dev/null +++ b/doc/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