3 <title>Vaporizer</title>
4 <style type="text/css">
6 font-family: sans-serif;
23 Coming <span id="tmonth"></span> <span id="tdate"></span>, <span id="tyear"></span>
26 <p>This webpage contains Javascript that will describe an upcoming
27 planned release date. When you pass it, will increment that release day
28 to one day in the future automatically. View, modify, save, and reuse
34 href="http://mako.cc">Benjamin Mako Hill</a> for his sins.<br />
35 Released to you under <a
36 href="http://www.gnu.org/licenses/gpl-3.0.txt">GNU GPL</a> for yours.
39 <script type="text/javascript">
40 // UNCOMMENT THE FOLLOWING LINE AND CHANGE IT TO YOUR EXPECTED ANNOUNCEMENT
41 // var planned_date = new Date("August 18, 2008");
44 var tomorrow = new Date();
46 // set tomorrow correctly
47 tomorrow.setDate(now.getDate()+1);
49 if (!(typeof planned_date == "undefined") && planned_date >= now ) {
50 display_date = planned_date;
52 display_date = tomorrow;
55 var monthname = new Array("January", "February", "March", "April",
56 "May", "June", "July", "August", "September",
57 "October", "November", "Dececember");
58 document.getElementById("tdate").innerHTML = display_date.getDate();
59 document.getElementById("tmonth").innerHTML = monthname[display_date.getMonth()];
60 document.getElementById("tyear").innerHTML = display_date.getFullYear();
62 </script> </body> </html>