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
<html> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> | |
<script type="text/javascript" src="http://malsup.github.com/jquery.form.js"></script> | |
<script> | |
$(document).ready(function(){ | |
$('a').bind('click',function(event){ | |
event.preventDefault(); | |
$.get(this.href,{},function(response){ |
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
jQuery.preloadImages = function() { | |
for (var i = 0; i < arguments.length; i++) { | |
jQuery("<img>").attr("src", arguments[i]); | |
} | |
} |
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
$(window).bind('resize',function(){ | |
window.location.href = window.location.href; | |
}); |
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
$(document).ready(function() { | |
$('img').each(function() { | |
$(this).css({ | |
opacity: 0 | |
}).bind('load', function() { | |
$(this).animate({ | |
opacity: 1 | |
}, 'slow'); | |
}); | |
}); |
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> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<title>jQuery Mobile - iScroll - Flickr JSON</title> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" /> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> |
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
* { | |
/* prevent callout to copy image, etc when tap to hold */ | |
-webkit-touch-callout: none; | |
/* prevent webkit from resizing text to fit */ | |
-webkit-text-size-adjust: none; | |
/* make transparent link selection, adjust last value opacity 0 to 1.0 */ | |
-webkit-tap-highlight-color: rgba(0,0,0,0); |
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" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Search Twitter</title> | |
</head> | |
<body> | |
<input type="text" id="query" /><button>search</button><br /> | |
<div id="results"> | |
</div> |
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
#container | |
{ | |
width: 790px; | |
} | |
#group_1-8 | |
{ | |
float: left; | |
width: 630px; | |
} | |
#group_9 |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>jQuery UI Tabs - Default functionality</title> | |
<link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css"> | |
<script src="http://jqueryui.com/jquery-1.7.1.js"></script> | |
<script src="http://jqueryui.com/ui/jquery.ui.core.js"></script> | |
<script src="http://jqueryui.com/ui/jquery.ui.widget.js"></script> |
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
<style> | |
.icon { | |
background: #33CC00; | |
background-image:url(http://www.cyberdesignz.com/blog/wp-content/uploads/2009/12/CSS.png); | |
background-repeat:no-repeat; | |
background-position:center; | |
background-size:100%; | |
width: 128px; | |
height: 128px; | |
border-radius: 19px; |
OlderNewer