Created
December 8, 2012 14:09
-
-
Save strongme/4240382 to your computer and use it in GitHub Desktop.
FOR VML
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 Transitional//EN"> | |
<html xmlns:v="urn:schemas-microsoft-com:vml"> | |
<STYLE> | |
v\:* {behavior: url(#default#vml)} | |
</STYLE> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>New Web Project</title> | |
</head> | |
<body> | |
<h1>VML-1</h1> | |
<v:polyline style="position:absolute;left:100px;top:100px;" points="0,0 25,26 36,24 55,98 123,43 234,43 234,80 342,80" strokecolor="red" stroked=t strokeweight=2></v:polyline> | |
<v:shape path="m 0,0 l 100,100 e" coordsize="400,400" style="width: 200px;height: 200px;position:absolute;left: 400px;top: 150px;" strokecolor="red" strokeweight=5></v:shape> | |
<v:oval style="position: absolute;left: 100px;top: 300px;width: 150px;height: 150px;" fillcolor="black" id="circle"></v:oval> | |
<script type="text/javascript" src="jquery-1.7.2.js"></script> | |
<script src="vml1.js"></script> | |
</body> | |
</html> | |
//js | |
/** | |
* @author walter | |
*/ | |
$(function() { | |
$("#circle").mouseover(function() { | |
$(this).css("width",600); | |
}).mouseout(function() { | |
$(this).css("width",150); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment