Skip to content

Commit

Permalink
added folders!! and added hnreader
Browse files Browse the repository at this point in the history
  • Loading branch information
altryne committed Jun 16, 2012
1 parent 7308519 commit c163f89
Show file tree
Hide file tree
Showing 70 changed files with 285 additions and 275 deletions.
170 changes: 86 additions & 84 deletions app.php
Original file line number Diff line number Diff line change
@@ -1,85 +1,87 @@
<?php
$appid = strtolower($_GET['appid']);
if($appid && file_exists($appid.'.php') && $appid != 'photos'){
header('Location: '.$appid.'.html');
}
elseif($appid && $appid == 'timezones'){

header('Location: http://everytimezone.com');
}
else{

}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ipad simulator</title>
<meta name="description" content="This is a jquery iPad simulator, this is only an experiment of what can be done with javascript in latest browsers">
<meta name="keywords" content="Ipad, ipad simulator, apple ipad, alexw.me, altryne, alex wolkov, ipad javascript simulator">
<meta charset="utf-8">
<link rel="stylesheet" href="style/grid.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="style/main.css" type="text/css" media="screen"/>
</head>
<body>
<div id="content" class="container_24">
<div class="grid_4 ">
<!-- Begin: adBrite, Generated: 2011-05-29 14:52:04 -->
<style type="text/css">
.adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #000000;}
.adText {font: normal 10pt Arial; text-decoration: none; color: #656565;}
</style>
<script type="text/javascript">
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1949030&br=1&dk=646f6d61696e206e616d655f385f325f776562&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
<div><a class="adHeadline" target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1949030&afsid=1">Your Ad Here</a></div>
<!-- End: adBrite -->
</div>
<div class="grid_18 push_1" >
<h1 style="font-size:18px">This app wasn't yet implemented in this experiment.</h1>
<h3 style="margin-bottom:15px !important;">
In the meanwhie, you are welcome to checkout my blog : <a href="http://alexw.me/" target="_blank">alexw.me</a> <br /><br />
You can also fork this at <a href="https://github.com/altryne/Ipad-Simulator" target="_blank">https://github.com/altryne/Ipad-Simulator</a> <br/>
and hack on this and do cool stuff because open source rulez
<br/><br/>
If your an iPad app developer, and would like to feature your app here, contact me [email protected]
</h3>
<h4>
Things that work :
</h4>
<ul style="list-style:circle !important; list-style-position:inside;font-size:16px;padding:15px 0 0 30px;line-height:20px;">
<li>Moving Screens left and right with "spring" effect</li>
<li>Dock icons have css3 "reflection" ;)</li>
<li>All icons have css3 rounded corners and shadow similar to Ipads </li>
<li>Search works almost identically to the ios. (using modified <a href="http://ejohn.org/blog/jquery-livesearch" target="_blank">jquery live-search</a> )</li>
<li>Lock screen effect with returning lock</li>
<li>Home button works (exits apps, goes to first page, return from sleep mode,exits edit mode)</li>
<li>Sleep button puts iPad in sleep mode</li>

<li><strong>Edit Mode: </strong> click and hold on any app for 2 seconds to enable edit mode</li>
<li> - Edit mode icons shake in chrome (using css animation)</li>
<li> - Move apps from place to place in edit mode</li>
<li> - Move apps to another page</li>
<li> - Move apps to dock</li>
<li> - Delete Apps</li>
<li><strong>Multitasking: </strong> launch any app, and it's in the background</li>
<li> - multitask bar opens on double homescreen click</li>
<li> - 3D (only safari and webkit nightly) switch between open and wanted mutitask app</li>
<li> - remove app from multitask by editing the multitask bar (hold and hold for 2 sec.)</li>
</ul>

</div>
</div>

<script>
var _gaq = [['_setAccount', 'UA-7437527-1'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.async = true;
g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
})(document, 'script');
</script>
</body>
<?php
$appid = strtolower($_GET['appid']);
if($appid && file_exists($appid.'.php') && $appid != 'photos'){
header('Location: '.$appid.'.html');
}
elseif($appid && $appid == 'timezones'){
header('Location: http://everytimezone.com');
}
elseif($appid && $appid == 'hnreader'){
header('Location: http://cheeaun.github.com/hnmobile/');
}
else{

}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ipad simulator</title>
<meta name="description" content="This is a jquery iPad simulator, this is only an experiment of what can be done with javascript in latest browsers">
<meta name="keywords" content="Ipad, ipad simulator, apple ipad, alexw.me, altryne, alex wolkov, ipad javascript simulator">
<meta charset="utf-8">
<link rel="stylesheet" href="style/grid.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="style/main.css" type="text/css" media="screen"/>
</head>
<body>
<div id="content" class="container_24">
<div class="grid_4 ">
<!-- Begin: adBrite, Generated: 2011-05-29 14:52:04 -->
<style type="text/css">
.adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #000000;}
.adText {font: normal 10pt Arial; text-decoration: none; color: #656565;}
</style>
<script type="text/javascript">
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1949030&br=1&dk=646f6d61696e206e616d655f385f325f776562&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
<div><a class="adHeadline" target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1949030&afsid=1">Your Ad Here</a></div>
<!-- End: adBrite -->
</div>
<div class="grid_18 push_1" >
<h1 style="font-size:18px">This app wasn't yet implemented in this experiment.</h1>
<h3 style="margin-bottom:15px !important;">
In the meanwhie, you are welcome to checkout my blog : <a href="http://alexw.me/" target="_blank">alexw.me</a> <br /><br />
You can also fork this at <a href="https://github.com/altryne/Ipad-Simulator" target="_blank">https://github.com/altryne/Ipad-Simulator</a> <br/>
and hack on this and do cool stuff because open source rulez
<br/><br/>
If your an iPad app developer, and would like to feature your app here, contact me [email protected]
</h3>
<h4>
Things that work :
</h4>
<ul style="list-style:circle !important; list-style-position:inside;font-size:16px;padding:15px 0 0 30px;line-height:20px;">
<li>Moving Screens left and right with "spring" effect</li>
<li>Dock icons have css3 "reflection" ;)</li>
<li>All icons have css3 rounded corners and shadow similar to Ipads </li>
<li>Search works almost identically to the ios. (using modified <a href="http://ejohn.org/blog/jquery-livesearch" target="_blank">jquery live-search</a> )</li>
<li>Lock screen effect with returning lock</li>
<li>Home button works (exits apps, goes to first page, return from sleep mode,exits edit mode)</li>
<li>Sleep button puts iPad in sleep mode</li>

<li><strong>Edit Mode: </strong> click and hold on any app for 2 seconds to enable edit mode</li>
<li> - Edit mode icons shake in chrome (using css animation)</li>
<li> - Move apps from place to place in edit mode</li>
<li> - Move apps to another page</li>
<li> - Move apps to dock</li>
<li> - Delete Apps</li>
<li><strong>Multitasking: </strong> launch any app, and it's in the background</li>
<li> - multitask bar opens on double homescreen click</li>
<li> - 3D (only safari and webkit nightly) switch between open and wanted mutitask app</li>
<li> - remove app from multitask by editing the multitask bar (hold and hold for 2 sec.)</li>
</ul>

</div>
</div>

<script>
var _gaq = [['_setAccount', 'UA-7437527-1'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.async = true;
g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
})(document, 'script');
</script>
</body>
</html>
Binary file modified apps/blur.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/calendar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/camera.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/clock.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/dock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/facebook.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/facetime.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/gamecenter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/hnreader.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/hnreader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/imovie.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/ipad.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/ipad_sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/ipod.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lockscreen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lockscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/mail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/maps.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/messages.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/notes.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/photobooth.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/photos.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/safari.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/settings.jpg
Binary file modified apps/stocks.jpg
Binary file modified apps/timezones.jpg
Binary file modified apps/topbar.png
Binary file modified apps/unlock.jpg
Binary file modified apps/weather.jpg
Binary file modified img/flash_lego_block.png
Binary file modified img/google_maps_pin.png
Binary file modified img/hold.jpg
Binary file modified img/notes_bg.jpg
Binary file modified img/pocket.png
Binary file modified img/safari_sprites.png
Binary file modified img/selected.png
18 changes: 10 additions & 8 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
);
$apps[1] = Array(
'Maps',
Array('WTF',Array('Messages','Weather','Clock','Maps','Notes','Timezones')),
Array('Folder',Array('Messages','Weather','Clock','Maps','Notes','Timezones')),
'camera',
'Photo Booth',
'facetime',
'Game Center',
'Notes',
'Photos',
'Timezones',
'HN reader',
'Weather',
);
$apps[2] = Array(
Expand Down Expand Up @@ -51,12 +51,7 @@
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" href="style/ipad.css" type="text/css" media="screen"/>
<link rel="image_src" href="http://alexw.me/ipad2/apps/facebook.jpg" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/jquery-1.4.4.min.js"%3E%3C/script%3E'))</script>
<script type="text/javascript" src="js/jquery-ui-1.8.1.custom.min.js"></script>
<script type="text/javascript" src="js/plugins.js"></script>
<script type="text/javascript" src="js/jquery.ui.ipad.js"></script>
<script type="text/javascript" src="js/ipad.js"></script>

</head>
<body id="ipad">
<div id="externalContainer">
Expand Down Expand Up @@ -191,6 +186,13 @@
<div id="home"></div>
<div id="sleep"></div>
</div>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/jquery-1.4.4.min.js"%3E%3C/script%3E'))</script>
<script type="text/javascript" src="js/jquery-ui-1.8.1.custom.min.js"></script>
<script type="text/javascript" src="js/plugins-ck.js"></script>
<script type="text/javascript" src="js/jquery.ui.ipad.js"></script>
<script type="text/javascript" src="js/ipad-ck.js"></script>
<!-- Place this tag in your head or just before your close body tag -->
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
<!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet
Expand Down
Loading

0 comments on commit c163f89

Please sign in to comment.