Permalink
Browse files

Removed include icons from main portrait images

  • Loading branch information...
1 parent 1d3d207 commit 51cd00a86f45b4644c895b7c835a3965b4dd7c95 @gora committed Mar 29, 2012
@@ -52,7 +52,7 @@ body {
padding: 35px;
}
#welcome {
- width:480px;
+ width:300px;
margin:0 auto;
}
#icons {
@@ -2,6 +2,8 @@
function onOrientationChange() {
if( window.orientation == -90 || window.orientation == 90 ) {
// Switch to landscape
+ alert( "Landscape" );
+ x$( "#welcome" ).css( "width", "480px" );
// Change main image
var src = x$( "#main-img,#footer-img" ).attr( "src" );
var idx = src.indexOf( "_portrait.jpg" );
@@ -19,6 +21,8 @@ function onOrientationChange() {
});
} else {
// Switch to portrait
+ alert( "Portrait" );
+ x$( "#welcome" ).css( "width", "300px" );
// Change main image
var src = x$( "#main-img" ).attr( "src" );
var idx = src.indexOf( ".jpg" );
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
@@ -12,18 +12,6 @@
<script src="phonegap.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/js/xui.js" type="text/javascript" charset="utf-8"></script>
- <script src="assets/js/lawnchair/adaptors/LawnchairAdaptorHelpers.js" type="text/javascript" charset="utf-8"></script>
-
- <script src="assets/js/lawnchair/adaptors/DOMStorageAdaptor.js" type="text/javascript" charset="utf-8"></script>
-
- <script src="assets/js/lawnchair/adaptors/WebkitSQLiteAdaptor.js" type="text/javascript" charset="utf-8"></script>
-
- <script src="assets/js/lawnchair/Lawnchair.js" type="text/javascript" charset="utf-8"></script>
-
- <script src="assets/js/dsl.js" type="text/javascript" charset="utf-8"></script>
-
- <script src="assets/js/app.js" type="text/javascript" charset="utf-8"></script>
- <script src="assets/js/xui.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/js/kindergarten.js" type="text/javascript" charset="utf-8"></script>
</head>
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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 51cd00a

Please sign in to comment.