-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9ee8465
Showing
13 changed files
with
9,278 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' ); | ||
} | ||
); | ||
|
Oops, something went wrong.