diff options
author | Silvio <silvio@fluxo.info> | 2011-12-05 00:21:26 -0200 |
---|---|---|
committer | Silvio <silvio@fluxo.info> | 2011-12-05 00:21:26 -0200 |
commit | 3dc388ab551020bb0e5b5ea2f9f91d306fb6fe6e (patch) | |
tree | 08d1a865fd56b0657c870aedcfaffdb07a02d8cd /s6/jquery.microsoft.js | |
parent | d9408db8878537c1ab386cbae6f36348bffd73d4 (diff) | |
download | gestaossl-3dc388ab551020bb0e5b5ea2f9f91d306fb6fe6e.tar.gz gestaossl-3dc388ab551020bb0e5b5ea2f9f91d306fb6fe6e.tar.bz2 |
Aditional files
Diffstat (limited to 's6/jquery.microsoft.js')
-rw-r--r-- | s6/jquery.microsoft.js | 31 |
1 files changed, 31 insertions, 0 deletions
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 + $( "<div>" ).html( + "<p>" + + "Microsoft's Internet Explorer browser has no built-in vector graphics machinery " + + "required for 'loss-free' gradient background themes." + + "</p>" + + "<p>" + + "Please <span style='background: yellow'>upgrade to a better browser</span> " + + "such as <a href='http://getfirefox.com'>Firefox</a>, <a href='http://www.opera.com/download'>Opera</a>, " + + "<a href='http://google.com/chrome'>Chrome</a>, <a href='http://apple.com/safari/download'>Safari</a> or others " + + "with built-in vector graphics machinery and much more. " + + "(Learn more or post questions or comments " + + "at the <a href='http://slideshow.rubyforge.org'>Slide Show (S9)</a> project site. Thanks!)" + + "</p>" + ) + .css( { + border: 'red solid thick', + padding: '1em', + fontFamily: 'sans-serif', + fontWeight: 'bold' } ) + .prependTo( 'body' ); + } +); + |