--- a/Eggtimer/.settings/org.symbian.tools.tmw.previewer.xml Thu Nov 04 13:43:25 2010 -0700
+++ b/Eggtimer/.settings/org.symbian.tools.tmw.previewer.xml Thu Nov 04 17:08:17 2010 -0700
@@ -2,9 +2,9 @@
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="__SYM_NOKIA_EMULATOR_DEVICE_MODE">portrait</entry>
-<entry key="__SYM_NOKIA_CONSOLE_OPEN">false</entry>
+<entry key="__SYM_NOKIA_CONSOLE_OPEN">true</entry>
+<entry key="__SYM_WRT_VERSION">WRT 1.1</entry>
<entry key="__SYM_SELECTED_CONTROLS_TAB">1</entry>
-<entry key="__SYM_WRT_VERSION">WRT 1.1</entry>
<entry key="__SYM_NOKIA_EMULATOR_DEVICE">360x640</entry>
<entry key="__SYM_DEVICE_ORIENTATION">DisplayUp</entry>
</properties>
--- a/Eggtimer/basic.css Thu Nov 04 13:43:25 2010 -0700
+++ b/Eggtimer/basic.css Thu Nov 04 17:08:17 2010 -0700
@@ -10,11 +10,11 @@
}
#remaining-time {
- width: 170px;
- height: 40px;
- position: absolute;
- left: 95px;
font-size: xx-large;
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+ font-weight: bold;
}
.digits {
@@ -22,13 +22,6 @@
text-align: center;
}
-#time {
- font-weight: bold;
- text-align: center;
- width: 138px;
- color: white;
-}
-
#sand {
background-color: rgb(255, 208, 52);
position: absolute;
--- a/Eggtimer/basic.js Thu Nov 04 13:43:25 2010 -0700
+++ b/Eggtimer/basic.js Thu Nov 04 17:08:17 2010 -0700
@@ -95,7 +95,8 @@
var mins = Math.floor((timervalue % 3600) / 60);
var sec = timervalue % 60;
- var sz = pad(hrs) + ":" + pad(mins) + ":" + pad(sec);
+ var sz = (hrs > 0 ? (pad(hrs) + ":") : "") +
+ (mins > 0 ? (pad(mins) + ":") : "") + pad(sec);
document.getElementById("timervalue").innerHTML = sz;
var sand=document.getElementById("sand");
var sandBottom = document.getElementById("sand-bottom");