Skip to content

Commit

Permalink
Removed titlebar, and added listener
Browse files Browse the repository at this point in the history
  • Loading branch information
gora committed Mar 29, 2012
1 parent 710c6d8 commit b22324c
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 12 deletions.
2 changes: 2 additions & 0 deletions assets/js/kindergarten.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Gora: Added for orientation: Needs XUI
document.addEventListener("orientationChanged", updateOrientation);

function onOrientationChange() {
if( window.orientation == -90 || window.orientation == 90 ) {
// Switch to landscape
Expand Down
2 changes: 0 additions & 2 deletions calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

</head>
<body>
<div id="title_bar">Kindergarten | Kalender</div>

<div id="welcome" class="view">
<img id="main-img" src="calendar_portrait.jpg" width="300" height="297" alt="Index"/>

Expand Down
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

</head>
<body>
<div id="title_bar">Kindergarten</div>

<div id="welcome" class="view">
<img id="main-img" src="index_portrait.jpg" width="300" height="297" alt="Index"/>

Expand Down
2 changes: 0 additions & 2 deletions parent.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

</head>
<body>
<div id="title_bar">Kindergarten | Foraeldre kontakt</div>

<div id="welcome" class="view">
<img id="main-img" src="parent_portrait.jpg" width="300" height="297" alt="Index"/>

Expand Down
2 changes: 0 additions & 2 deletions playdate.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

</head>
<body>
<div id="title_bar">Kindergarten | Legeaftale</div>

<div id="welcome" class="view">
<img id="main-img" src="playdate_portrait.jpg" width="300" height="297" alt="Index"/>

Expand Down
2 changes: 0 additions & 2 deletions substitute.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

</head>
<body>
<div id="title_bar">Kindergarten | Vikarinfo</div>

<div id="welcome" class="view">
<img id="main-img" src="substitute_portrait.jpg" width="300" height="297" alt="Index"/>

Expand Down
2 changes: 0 additions & 2 deletions vacations.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

</head>
<body>
<div id="title_bar">Kindergarten | Ferie Og Sydom</div>

<div id="welcome" class="view">
<img id="main-img" src="vacations_portrait.jpg" width="300" height="297" alt="Index"/>

Expand Down

0 comments on commit b22324c

Please sign in to comment.