Skip to content

Commit

Permalink
Simplified Schedule Page - Added countdown.js
Browse files Browse the repository at this point in the history
I simplified the page (commented out the HTML we do not need right now)
so we can tweak the countdown script. I also included the
jquery.countdown.js so that we can tweak it direclty.
  • Loading branch information
NickStees committed Dec 19, 2012
1 parent c2a9074 commit dad8e63
Show file tree
Hide file tree
Showing 2 changed files with 822 additions and 43 deletions.
88 changes: 45 additions & 43 deletions schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,208 +4,210 @@
<meta name="viewport" content="width=450;"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>2012 Honda Grand Prix of St Petersburg</title>
<link href="mobile_style.css" rel="stylesheet" type="text/css" />
<link href="../scripts/jquery.countdown.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../scripts/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../scripts/jquery.countdown.js"></script>
<link href="http://www.stpete.org/mobile_style.css" rel="stylesheet" type="text/css" />
<link href="http://www.stpete.org/scripts/jquery.countdown.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://www.stpete.org/scripts/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="scripts/jquery.countdown.js"></script>
<script type="text/javascript">
$(function () {
$('#mar238a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 8, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar238a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 8, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar238a});
function hmar238a(){
$('#mar238a').hide();
};
$('#mar23845a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 8, 45, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23845a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 8, 45, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23845a});
function hmar23845a(){
$('#mar23845a').hide();
};
$('#mar23935a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 9, 35, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23935a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 9, 35, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23935a});
function hmar23935a(){
$('#mar23935a').hide();
};
$('#mar231030a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 10, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar231030a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 10, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar231030a});
function hmar231030a(){
$('#mar231030a').hide();
};
$('#mar231105a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 11, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar231105a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 11, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar231105a});
function hmar231105a(){
$('#mar231105a').hide();
};
$('#mar231150a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 11, 50, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar231150a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 11, 50, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar231150a});
function hmar231150a(){
$('#mar231150a').hide();
};
$('#mar2312p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 12, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar2312p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 12, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar2312p});
function hmar2312p(){
$('#mar2312p').hide();
};
$('#mar23105p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 13, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23105p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 13, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23105p});
function hmar23105p(){
$('#mar23105p').hide();
};
$('#mar23155p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 13, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23155p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 13, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23155p});
function hmar23155p(){
$('#mar23155p').hide();
};
$('#mar23250p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 14, 50, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23250p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 14, 50, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23250p});
function hmar23250p(){
$('#mar23250p').hide();
};
$('#mar23405p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 16, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23405p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 16, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23405p});
function hmar23405p(){
$('#mar23405p').hide();
};
$('#mar23440p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 16, 40, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23440p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 16, 40, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23440p});
function hmar23440p(){
$('#mar23440p').hide();
};
$('#mar23525p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 17, 25, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23525p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 17, 25, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23525p});
function hmar23525p(){
$('#mar23525p').hide();
};
$('#mar23610p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 18, 10, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23610p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 18, 10, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23610p});
function hmar23610p(){
$('#mar23610p').hide();
};
$('#mar237p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 19, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar237p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 19, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar237p});
function hmar237p(){
$('#mar237p').hide();
};
$('#mar23715p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 23, 19, 15, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23715p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 23, 19, 15, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar23715p});
function hmar23715p(){
$('#mar23715p').hide();
};
$('#mar248a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 8, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar248a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 8, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar248a});
function hmar248a(){
$('#mar248a').hide();
};
$('#mar249a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 9, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar249a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 9, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar249a});
function hmar249a(){
$('#mar249a').hide();
};
$('#mar24955a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 9, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24955a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 9, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24955a});
function hmar24955a(){
$('#mar24955a').hide();
};
$('#mar241110a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 11, 10, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241110a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 11, 10, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241110a});
function hmar241110a(){
$('#mar241110a').hide();
};
$('#mar241145a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 11, 45, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241145a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 11, 45, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241145a});
function hmar241145a(){
$('#mar241145a').hide();
};
$('#mar241210p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 12, 10, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241210p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 12, 10, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241210p});
function hmar241210p(){
$('#mar241210p').hide();
};
$('.mar241p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 13, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 13, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar241p});
function hmar241p(){
$('.mar241p').hide();
};
$('#mar24155p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 13, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24155p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 13, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24155p});
function hmar24155p(){
$('#mar24155p').hide();
};
$('#mar24330p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 15, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24330p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 15, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24330p});
function hmar24330p(){
$('#mar24330p').hide();
};
$('#mar244p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 16, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar244p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 16, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar244p});
function hmar244p(){
$('#mar244p').hide();
};
$('#mar24455p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 16, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24455p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 16, 55, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar24455p});
function hmar24455p(){
$('#mar24455p').hide();
};
$('#mar246p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 24, 18, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar246p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 24, 18, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar246p});
function hmar246p(){
$('#mar246p').hide();
};
$('#mar258a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 25, 8, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar258a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 8, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar258a});
function hmar258a(){
$('#mar258a').hide();
};
$('#mar25835a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 25, 8, 35, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar25835a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 8, 35, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar25835a});
function hmar25835a(){
$('#mar25835a').hide();
};
$('#mar25915a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 25, 9, 15, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar25915a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 9, 15, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar25915a});
function hmar25915a(){
$('#mar25915a').hide();
};
$('#mar251005a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 25, 10, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar251005a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 10, 05, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar251005a});
function hmar251005a(){
$('#mar251005a').hide();
};
$('#mar2511a').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 25, 11, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar2511a});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 11, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar2511a});
function hmar2511a(){
$('#mar2511a').hide();
};
$('#mar2512p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 25, 12, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar2512p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 12, 00, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar2512p});
function hmar2512p(){
$('#mar2512p').hide();
};
$('#mar251230p').countdown({
until: $.countdown.UTCDate(-4, 2012, 3-1, 25, 12, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar251230p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 12, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar251230p});
function hmar251230p(){
$('#mar251230p').hide();
};
$('#mar25330p').countdown({
until: $.countdown.UTCDate(-4, 2012, 13-1, 20, 15, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar25330p});
until: $.countdown.UTCDate(-4, 2012, 13-1, 25, 15, 30, 0, 0), format: 'HM', alwaysExpire:true, onExpiry: hmar25330p});
function hmar25330p(){
$('#mar25330p').hide();
};


});
</script>
</head>

<body>
<div class="body">
<!-- // removed to simply page
<a href="http://www.stpete.org/mobilegp/"><img src="header.jpg" width="440" height="147" alt="Honda Grand Prix Mobile Phone Resource"></a><br />
<a href="http://www.stpete.org/mobilegp/"><img class="fltlft"src="home.gif" alt="Home Button" width="126" height="38"></a>
<div class="navigation"><a href="http://www.stpete.org/mobilegp/"></a>Race Schedule</div>
<a href="social.html"><img class="socialicon" src="images/facebook.png"></a><a href="social.html"
><img class="socialicon" src="images/twitter.png"></a>
-->
<article>

<!--<p><STRONG>Saturday, March 24</STRONG></p>
<p><STRONG>Saturday, March 24</STRONG></p>
<table width="100%" border="0" cellspacing="8">
<tr>
<th bgcolor="#CCCCCC">Starts in</th>
Expand Down Expand Up @@ -287,7 +289,7 @@
<td><div align="center">6:00 - 7:00</div></td>
<td><strong>PWC Race #1</strong></td>
</tr>
</table> -->
</table>
<p><STRONG>Sunday, March 25</STRONG></p>
<table width="100%" border="0" cellspacing="8">
<tr>
Expand Down
Loading

0 comments on commit dad8e63

Please sign in to comment.