-
-
Save dknight/545453 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>untitled</title> | |
<meta name="generator" content="TextMate http://macromates.com/"> | |
<meta name="author" content="Dmitri Smirnov"> | |
<!-- Date: 2010-08-23 --> | |
</head> | |
<body> | |
<img src="http://img.moswar.ru/@/images/pers/man5_thumb.png" alt="" /><br/> | |
<img src="http://www.alialtugkoca.com/word/wp-content/uploads/2007/09/rus.jpg" alt="" /><br/> | |
<img src="http://www.sfbappa.org/SF29.images/October%20Baseball/2ND%209mnm2.jpg" alt="" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(function(){ | |
$("img").each(function() { | |
if( $.browser.mozilla) { | |
$(this).attr("style", "-moz-transform: rotate(180deg)"); | |
} | |
if( $.browser.webkit) { | |
$(this).attr("style", "-webkit-transform: rotate(180deg)"); | |
} | |
if( $.browser.opera) { | |
$(this).attr("style", "-o-transform: rotate(180deg)"); | |
} | |
if( $.browser.msie) { | |
$(this).attr("style", "filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);"); | |
} | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment