Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

img

  • Loading branch information...
commit 4bed03129fef230cb144ef8390103a4652b280c6 1 parent 0d4c013
Fan Yu authored
View
BIN  JqueryTest.suo
Binary file not shown
View
1  JqueryTest/JqueryTest.csproj
@@ -52,6 +52,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="default.htm" />
+ <Content Include="fry.jpg" />
<Content Include="Scripts\jquery-1.4.1-vsdoc.js" />
<Content Include="Scripts\jquery-1.4.1.js" />
<Content Include="Scripts\jquery-1.4.1.min.js" />
View
16 JqueryTest/default.htm
@@ -8,17 +8,19 @@
<p>Hellow world!</p>
<div id="test"></div>
<input id="run" type="button" value="button" />
+ <img alt="" src="fry.jpg" />
<div>move</div>
<script type="text/javascript">
// $("p").empty()
//$("#test").html("hahah")
- $("#run").click(
- function () {
- $("div:not(:animated)").animate({left:"+=20"},1000);
- }
- );
- window.onload = function () { alert("loaded"); }
- $(document).ready(function () { alert("ready"); });
+// $("#run").click(
+// function () {
+// $("div:not(:animated)").animate({left:"+=20"},1000);
+// }
+// );
+// window.onload = function () { alert("loaded"); }
+ // $(document).ready(function () { alert("ready"); });
+ $("img").css("border", "5px solid orange");
</script>
</body>
</html>
View
BIN  JqueryTest/fry.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.