Permalink
Browse files

added svn files

  • Loading branch information...
1 parent a49cfed commit e8efef759c2df22c5b6ff5cc10d10f35c01538b6 @jonathanstark jonathanstark committed Jun 30, 2010
Showing with 4,470 additions and 0 deletions.
  1. +20 −0 LICENSE.txt
  2. +19 −0 README.txt
  3. +54 −0 demos/clock/clock.css
  4. BIN demos/clock/icon.png
  5. BIN demos/clock/img/face.png
  6. BIN demos/clock/img/hour.png
  7. BIN demos/clock/img/minute.png
  8. BIN demos/clock/img/second.png
  9. BIN demos/clock/img/startup.png
  10. +144 −0 demos/clock/index.html
  11. +82 −0 demos/customanimation/index.html
  12. BIN demos/customanimation/jqt_startup.png
  13. BIN demos/customanimation/jqtouch.png
  14. +103 −0 demos/customanimation2/index.html
  15. BIN demos/customanimation2/jqt_startup.png
  16. BIN demos/customanimation2/jqtouch.png
  17. +44 −0 demos/ext_autotitles/index.html
  18. BIN demos/ext_autotitles/jqt_startup.png
  19. BIN demos/ext_autotitles/jqtouch.png
  20. +90 −0 demos/ext_floaty/index.html
  21. BIN demos/ext_floaty/jqt_startup.png
  22. BIN demos/ext_floaty/jqtouch.png
  23. +82 −0 demos/ext_location/index.html
  24. BIN demos/ext_location/jqt_startup.png
  25. BIN demos/ext_location/jqtouch.png
  26. +1 −0 demos/ext_offline/.htaccess
  27. +24 −0 demos/ext_offline/cache.manifest
  28. +35 −0 demos/ext_offline/index.html
  29. BIN demos/ext_offline/jqt_startup.png
  30. BIN demos/ext_offline/jqtouch.png
  31. +1 −0 demos/ext_offline/sample.htaccess
  32. +163 −0 demos/mail/index.html
  33. BIN demos/mail/mail.png
  34. +22 −0 demos/main/ajax.html
  35. +78 −0 demos/main/ajax_long.html
  36. +36 −0 demos/main/ajax_post.php
  37. +400 −0 demos/main/index.html
  38. BIN demos/main/jqt_startup.png
  39. BIN demos/main/jqtouch.png
  40. BIN demos/main/video/fireworks - Computer.m4v
  41. BIN demos/main/video/fireworks - iPhone (Cellular).3gp
  42. BIN demos/main/video/fireworks-iPhone.m4v
  43. BIN demos/main/video/fireworks.jpg
  44. BIN demos/main/video/fireworks.mov
  45. +49 −0 demos/public_objects/index.html
  46. BIN demos/public_objects/jqt_startup.png
  47. BIN demos/public_objects/jqtouch.png
  48. +34 −0 demos/skel/index.html
  49. BIN demos/skel/jqt_startup.png
  50. BIN demos/skel/jqtouch.png
  51. BIN demos/todo/icon.png
  52. +145 −0 demos/todo/index.html
  53. BIN demos/todo/startup.png
  54. +51 −0 extensions/jqt.autotitles.js
  55. +92 −0 extensions/jqt.floaty.js
  56. +68 −0 extensions/jqt.location.js
  57. +97 −0 extensions/jqt.offline.js
  58. +327 −0 jqtouch/jqtouch.css
  59. +662 −0 jqtouch/jqtouch.js
  60. +60 −0 jqtouch/jqtouch.transitions.js
  61. +154 −0 jqtouch/jquery-1.4.2.min.js
  62. +47 −0 sample.htaccess
  63. BIN themes/apple/img/actionButton.png
  64. BIN themes/apple/img/backButton.png
  65. BIN themes/apple/img/cancel.png
  66. BIN themes/apple/img/chevron.png
  67. BIN themes/apple/img/grayButton.png
  68. BIN themes/apple/img/greenButton.png
  69. BIN themes/apple/img/listArrowSel.png
  70. BIN themes/apple/img/listGroup.png
  71. BIN themes/apple/img/loading.gif
  72. BIN themes/apple/img/on_off.png
  73. BIN themes/apple/img/pinstripes.png
  74. BIN themes/apple/img/redButton.png
  75. BIN themes/apple/img/selection.png
  76. BIN themes/apple/img/thumb.png
  77. BIN themes/apple/img/toggle.png
  78. BIN themes/apple/img/toggleOn.png
  79. BIN themes/apple/img/toolButton.png
  80. BIN themes/apple/img/toolbar.png
  81. BIN themes/apple/img/whiteButton.png
  82. +725 −0 themes/apple/theme.css
  83. BIN themes/jqt/img/activeButton.png
  84. BIN themes/jqt/img/back_button.png
  85. BIN themes/jqt/img/back_button_clicked.png
  86. BIN themes/jqt/img/blueButton.png
  87. BIN themes/jqt/img/button.png
  88. BIN themes/jqt/img/button_clicked.png
  89. BIN themes/jqt/img/chevron.png
  90. BIN themes/jqt/img/chevron_circle.png
  91. BIN themes/jqt/img/grayButton.png
  92. BIN themes/jqt/img/greenButton.png
  93. BIN themes/jqt/img/loading.gif
  94. BIN themes/jqt/img/on_off.png
  95. BIN themes/jqt/img/redButton.png
  96. BIN themes/jqt/img/rowhead.png
  97. BIN themes/jqt/img/toggle.png
  98. BIN themes/jqt/img/toggleOn.png
  99. BIN themes/jqt/img/toolbar.png
  100. BIN themes/jqt/img/whiteButton.png
  101. +561 −0 themes/jqt/theme.css
View
@@ -0,0 +1,20 @@
+The MIT License
+Copyright (c) 2009 David Kaneda
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -0,0 +1,19 @@
+ _/ _/_/ _/_/_/_/_/ _/
+ _/ _/ _/ _/_/ _/ _/ _/_/_/ _/_/_/
+ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/
+ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
+ _/ _/_/ _/ _/ _/_/ _/_/_/ _/_/_/ _/ _/
+ _/
+_/
+
+Created by David Kaneda <http://www.davidkaneda.com>
+Documentation and issue tracking on Google Code <http://code.google.com/p/jqtouch/>
+
+Special thanks to Jonathan Stark <http://jonathanstark.com/>
+and pinch/zoom <http://www.pinchzoom.com/>
+
+(c) 2009 by jQTouch project members.
+See LICENSE.txt for license.
+
+If you use jQTouch, please consider supporting its development:
+http://bit.ly/support-jqt
View
@@ -0,0 +1,54 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+body {
+ font-family: "Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;
+}
+.clock {
+ background: url(img/face.png);
+ position: relative;
+ width: 78px;
+ height: 78px;
+ margin: 5px auto;
+ overflow: hidden;
+}
+.hour,.min,.sec {
+ width: 9px;
+ height: 78px;
+ position: absolute;
+ top: 0;
+ left: 35px;
+}
+.hour {
+ background: url(img/hour.png);
+}
+.min {
+ background: url(img/minute.png);
+}
+.sec {
+ background: url(img/second.png);
+}
+#clocks > div {
+ background: -webkit-gradient(linear,0% 0%,0% 100%,from(#dadadc),to(#b4b3b8));
+ border-bottom: 1px solid #9a9fa5;
+ border-top: 1px solid #dbdbdd;
+ text-shadow: rgba(255,255,255,.5) 0 1px 0;
+ position: relative;
+}
+.city {
+ display: block;
+ position: absolute;
+ top: 35px;
+ font-weight: bold;
+ color: #333;
+ left: 10px;
+}
+.time {
+ display: block;
+ position: absolute;
+ right: 10px;
+ top: 30px;
+}
+.time span {
+}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,144 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="UTF-8" />
+ <title>jQTouch &beta;</title>
+ <style type="text/css" media="screen">@import "../../jqtouch/jqtouch.css";</style>
+ <style type="text/css" media="screen">@import "../../themes/apple/theme.css";</style>
+ <script src="../../jqtouch/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../../jqtouch/jqtouch.js" type="application/x-javascript" charset="utf-8"></script>
+ <!--
+ jQTouch Clock Demo
+ All custom code is embedded below:
+ -->
+ <link rel="stylesheet" href="clock.css" type="text/css" media="screen" charset="utf-8" />
+ <script type="text/javascript" charset="utf-8">
+ $.jQTouch({
+ icon: 'icon.png',
+ startupScreen: 'img/startup.png'
+ });
+ $(function(){
+ function addClock(label, tz){
+ var html = '';
+ html += '<div>'
+ html += '<div class="clock">'
+ html += '<div class="hour"></div>'
+ html += '<div class="min"></div>'
+ html += '<div class="sec"></div>'
+ html += '</div>'
+ html += '<div class="city">GMT</div>'
+ html += '<div class="time">Time</div>'
+ html += '</div>'
+ var insert = $(html);
+ $('#clocks').append(
+ insert.data('tz_offset', tz).find('.city').html(label).end()
+ );
+ }
+ function updateClocks(){
+ var localTime = new Date();
+ $('#clocks > div').each(function(){
+ var tz_offset = $(this).data('tz_offset') || 0;
+ var ms = localTime.getTime()
+ + (localTime.getTimezoneOffset() * 60000)
+ + (tz_offset + 1) * 3600000;
+ var time = new Date(ms);
+ var hour = time.getHours();
+ var minute = time.getMinutes();
+ var second = time.getSeconds();
+ var $el = $(this);
+ var ampm = 'AM';
+ var nicehour = hour;
+ if (hour > 12 ) {
+ nicehour = hour - 12;
+ ampm = 'PM';
+ } else if ( hour == 0 ) {
+ nicehour = 12;
+ }
+ $('.hour', $el).css('-webkit-transform', 'rotate(' + ( hour * 30 + (minute/2) ) + 'deg)');
+ $('.min', $el).css('-webkit-transform', 'rotate(' + ( minute * 6 ) + 'deg)');
+ $('.sec', $el).css('-webkit-transform', 'rotate(' + ( second * 6 ) + 'deg)');
+ $('.time', this).html(nicehour + ':' + minute + ':' + second + ' ' + ampm);
+ });
+ }
+ $('#time').submit(function(){
+ addClock($('#label').val(), Number($('#timezone').val()));
+ $('input').blur();
+ $('#add .cancel').click();
+ this.reset();
+ return false;
+ });
+ addClock('Philadelphia', -5.0);
+ addClock('Los Angeles', -8.0);
+ updateClocks();
+ setInterval(updateClocks, 1000);
+ });
+ </script>
+ </head>
+ <body>
+ <div id="jqt">
+ <div id="home">
+ <div class="toolbar">
+ <h1>World Clock</h1>
+ <a href="#info" class="button leftButton flip">Info</a>
+ <a href="#add" class="button add slideup">+</a>
+ </div>
+ <div id="clocks">
+ </div>
+ </div>
+ <div class="form" id="add">
+ <div class="toolbar">
+ <h1>New Time Zone</h1>
+ <a href="#add" class="cancel">Cancel</a>
+ </div>
+ <form id="time">
+ <ul class="rounded">
+ <li><input type="text" id="label" name="Label" placeholder="Label"></li>
+ <li><select name="timezone" id="timezone">
+ <option value="-12.0">(GMT -12:00) Eniwetok</option>
+ <option value="-11.0">(GMT -11:00) Samoa</option>
+ <option value="-10.0">(GMT -10:00) Hawaii</option>
+ <option value="-9.0">(GMT -9:00) Alaska</option>
+ <option value="-8.0">(GMT -8:00) Pacific Time</option>
+ <option value="-7.0">(GMT -7:00) Mountain Time</option>
+ <option value="-6.0">(GMT -6:00) Central Time</option>
+ <option value="-5.0">(GMT -5:00) Eastern Time</option>
+ <option value="-4.0">(GMT -4:00) Atlantic Time</option>
+ <option value="-3.5">(GMT -3:30) Newfoundland</option>
+ <option value="-3.0">(GMT -3:00) Brazil</option>
+ <option value="-2.0">(GMT -2:00) Mid-Atlantic</option>
+ <option value="-1.0">(GMT -1:00 hour) Azores</option>
+ <option value="0.0" selected>(GMT) Western Europe Time</option>
+ <option value="1.0">(GMT +1:00 hour) Paris</option>
+ <option value="2.0">(GMT +2:00) Kaliningrad</option>
+ <option value="3.0">(GMT +3:00) Baghdad</option>
+ <option value="3.5">(GMT +3:30) Tehran</option>
+ <option value="4.0">(GMT +4:00) Abu Dhabi</option>
+ <option value="4.5">(GMT +4:30) Kabul</option>
+ <option value="5.0">(GMT +5:00) Ekaterinburg</option>
+ <option value="5.5">(GMT +5:30) New Delhi</option>
+ <option value="5.75">(GMT +5:45) Kathmandu</option>
+ <option value="6.0">(GMT +6:00) Colombo</option>
+ <option value="7.0">(GMT +7:00) Bangkok</option>
+ <option value="8.0">(GMT +8:00) Hong Kong</option>
+ <option value="9.0">(GMT +9:00) Tokyo</option>
+ <option value="9.5">(GMT +9:30) Adelaide</option>
+ <option value="10.0">(GMT +10:00) Eastern Australia</option>
+ <option value="11.0">(GMT +11:00) Solomon Islands</option>
+ <option value="12.0">(GMT +12:00) Fiji</option>
+ </select></li>
+ </ul>
+ <a href="#" style="margin: 10px;" class="whiteButton submit">Add Clock</a>
+ </form>
+ </div>
+ <div id="info">
+ <div class="toolbar">
+ <h1>About</h1>
+ <a href="#add" class="cancel">Cancel</a>
+ </div>
+ <div class="info">
+ This is a demo for jQTouch.
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,82 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="UTF-8" />
+ <title>jQTouch &beta;</title>
+ <style type="text/css" media="screen">@import "../../jqtouch/jqtouch.css";</style>
+ <style type="text/css" media="screen">@import "../../themes/jqt/theme.css";</style>
+ <script src="../../jqtouch/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../../jqtouch/jqtouch.js" type="application/x-javascript" charset="utf-8"></script>
+
+ <script type="text/javascript" charset="utf-8">
+ var jQT = new $.jQTouch({
+ icon: 'jqtouch.png',
+ addGlossToIcon: false,
+ startupScreen: 'jqt_startup.png',
+ statusBar: 'black',
+ preloadImages: [
+ '../../themes/jqt/img/back_button.png',
+ '../../themes/jqt/img/back_button_clicked.png',
+ '../../themes/jqt/img/button_clicked.png',
+ '../../themes/jqt/img/grayButton.png',
+ '../../themes/jqt/img/whiteButton.png',
+ '../../themes/jqt/img/loading.gif'
+ ]
+ });
+
+ $(function(){
+ jQT.addAnimation({
+ name: 'reveal',
+ selector: '.revealme'
+ });
+ });
+ </script>
+ <style type="text/css" media="screen">
+ div#jqt .reveal.in {
+ -webkit-animation-name: dontmove;
+ z-index: 0;
+ }
+
+ div#jqt .reveal.out {
+ -webkit-animation-name: revealout;
+ z-index: 10;
+ }
+
+ div#jqt .reveal.out.reverse {
+ z-index: 0;
+ -webkit-animation-name: dontmove;
+ }
+
+ div#jqt .reveal.in.reverse {
+ z-index: 10;
+ -webkit-animation-name: revealin;
+ }
+
+
+ @-webkit-keyframes revealin {
+ from { -webkit-transform: translateX(100%); }
+ to { -webkit-transform: translateX(0); }
+ }
+
+ @-webkit-keyframes revealout {
+ from { -webkit-transform: translateX(0); }
+ to { -webkit-transform: translateX(100%); }
+ }
+ </style>
+ </head>
+ <body>
+ <div id="jqt">
+ <div id="test">
+ <ul class="rounded">
+ <li><a class="revealme" href="#page2">Test Reveal</a></li>
+ </ul>
+ </div>
+ <div id="page2">
+ <div style="font-size: 1.5em; text-align: center; margin: 160px 0 160px; font-family: Marker felt;">
+ Pretty smooth, eh?
+ </div>
+ <a style="margin:0 10px;color:rgba(0,0,0,.9)" href="#" class="whiteButton goback">Go back</a>
+ </div>
+ </div>
+ </body>
+</html>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit e8efef7

Please sign in to comment.