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
$('ui-page').live("pageinit", function (event) { | |
if (undefined == $(this).data('scroll')) { | |
$(this).data('scroll', new iScroll($(this).find('.ui-wrapper')[0])); | |
} | |
}).live("pagehide", function (event) { | |
$(this).data('scroll').refresh(); | |
$(this).data('scroll').scrollTo(0,0,0); | |
}); | |
function initScroll() { |
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
import processing.opengl.*; | |
import controlP5.*; | |
import napplet.test.*; | |
import napplet.*; | |
import interfascia.*; | |
// Twitter #trends visualization - random size, color, alpha - x,y within 500x500 frame... to form the core of RT.pjs |
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
<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; |
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 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 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
#container | |
{ | |
width: 790px; | |
} | |
#group_1-8 | |
{ | |
float: left; | |
width: 630px; | |
} | |
#group_9 |
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 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 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
* { | |
/* 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 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 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 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
$(document).ready(function() { | |
$('img').each(function() { | |
$(this).css({ | |
opacity: 0 | |
}).bind('load', function() { | |
$(this).animate({ | |
opacity: 1 | |
}, 'slow'); | |
}); | |
}); |