aboutsummaryrefslogtreecommitdiff
path: root/slides/s6/jquery.microsoft.js
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-02-24 10:14:05 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-02-24 10:14:05 -0300
commita3e8aa6c319e38606e7d10562c793e3027c57ff4 (patch)
tree4a0c28db7967fc14336167b3211f3234ccf60769 /slides/s6/jquery.microsoft.js
parent4395ba1f645d36fa0a29e63f43d6a14e5c052372 (diff)
downloadhydra-a3e8aa6c319e38606e7d10562c793e3027c57ff4.tar.gz
hydra-a3e8aa6c319e38606e7d10562c793e3027c57ff4.tar.bz2
Feat: migrate docs to MkDocs
Diffstat (limited to 'slides/s6/jquery.microsoft.js')
-rw-r--r--slides/s6/jquery.microsoft.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/slides/s6/jquery.microsoft.js b/slides/s6/jquery.microsoft.js
new file mode 100644
index 0000000..f85af8a
--- /dev/null
+++ b/slides/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' );
+ }
+);
+