]> git.saurik.com Git - cydget.git/blobdiff - PhotoExamplePlus.cydget/foreground.html
New Cycript versions do not toll-free bridge well.
[cydget.git] / PhotoExamplePlus.cydget / foreground.html
index 0933d7240df622616e1ee636d525ec446176c785..d99c9cdf1715ef3a88faf8a38a58e619593f82b5 100644 (file)
             top: -8px;
         }
     }
+
+    @media (-cydget-media-controls) {
+        #lcd {
+            opacity: 0;
+        }
+    }
 </style></head><body>
     <div id="lcd"><script type="text/javascript">
         var locale = CFLocaleCopyCurrent();
         CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UINoAMPMTimeFormat));
         var time = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
         document.write('<h1>');
-        document.write(time);
+        document.write(id(time));
         document.write('</h1>');
         CFRelease(time);
 
         CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UIWeekdayNoYearDateFormat));
         var date = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
         document.write('<h2>');
-        document.write(date);
+        document.write(id(date));
         document.write('</h2>');
         CFRelease(date);