summaryrefslogtreecommitdiff
path: root/doc/s6/jquery.microsoft.js
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-06 21:59:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-06 21:59:52 -0300
commitbfbb12cc9f1c1a14fc0f3989d82dfd1d7bad972e (patch)
tree13165e966c6f6f8d18a62e0f6386aebb038aa848 /doc/s6/jquery.microsoft.js
parent5b333d87eb00eec65f588b841dfd4ee585bd529e (diff)
downloadhydra-bfbb12cc9f1c1a14fc0f3989d82dfd1d7bad972e.tar.gz
hydra-bfbb12cc9f1c1a14fc0f3989d82dfd1d7bad972e.tar.bz2
Adding presentation
Diffstat (limited to 'doc/s6/jquery.microsoft.js')
-rw-r--r--doc/s6/jquery.microsoft.js31
1 files changed, 31 insertions, 0 deletions
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
+ $( "<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' );
+ }
+);
+