This file contains hidden or 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> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<style> | |
body{ | |
margin:0; | |
padding:0; | |
} |
This file contains hidden or 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
body { | |
padding:0; | |
margin:0; | |
} | |
#block { | |
width:50px; | |
height:50px; | |
background-color:red; | |
position:absolute; | |
top: 100px; |
This file contains hidden or 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> | |
<html> | |
<head> | |
<meta name="description" content="MBSJ Login Page" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>Login Page</title> | |
</head> | |
<body> | |
<form action="#" id="_js_form"> |
This file contains hidden or 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> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<a id="_js_checkAll" href="#">全选</a> <a id="_js_cancelAll" href="#">取消全选</a><br> | |
<input type="checkbox" name="vehicle" value="address">Address<br> |
This file contains hidden or 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
//URL: http://www.example.com/?var1=val1&var2=val2=val3&test=3&test=43&aaa=#2 | |
//window.location.search will return "?var1=val1&var2=val2=val3&test=3&test=43&aaa=" | |
//use the location.search, because # could be remove. | |
//refer: | |
//https://gist.github.com/alkos333/1771618 | |
//http://papermashup.com/read-url-get-variables-withjavascript/ | |
//http://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html |
This file contains hidden or 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> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://sole.github.io/tween.js/build/tween.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style> | |
#target{ | |
width:50px; |
This file contains hidden or 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> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://sole.github.io/tween.js/build/tween.min.js"></script> | |
<script src="http://sole.github.io/tween.js/examples/js/RequestAnimationFrame.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> |
This file contains hidden or 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
//中央球场列表 | |
$('.football_bg').removeClass('football_bg').css({ | |
width: '93px', | |
height: '106px', | |
position: 'absolute', | |
left: '14px', | |
top: '27px', | |
'font-size': '12px' | |
}).show(); | |
$('.football_bg2').removeClass('football_bg2').css({ |
This file contains hidden or 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> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>world cup</title> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://underscorejs.org/underscore-min.js"></script> | |
<style id="jsbin-css"> | |
body{ | |
font: 12px 微软雅黑,tahoma,arial; |
This file contains hidden or 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> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>world cup</title> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://underscorejs.org/underscore-min.js"></script> | |
<style id="jsbin-css"> | |
body{ | |
font: 12px 微软雅黑,tahoma,arial; |
OlderNewer