Team:TU Delft/pages/blog

From 2010.igem.org

(Difference between revisions)
Line 4: Line 4:
==Calendar==
==Calendar==
<html>
<html>
-
<div id="calendar_container" style="width: 300px; float: right;"></html>
+
<div id="calendar_container" style="width: 300px; float: right; display:none;"></html>
{{:Team:TU_Delft/basic_calendar}}
{{:Team:TU_Delft/basic_calendar}}
<html></div>
<html></div>
Line 111: Line 111:
   dbgout('sethash: ' + $.datepicker.formatDate("d_MM_yy", c));
   dbgout('sethash: ' + $.datepicker.formatDate("d_MM_yy", c));
-
   setHash('pages/blogtest',  { blog: $.datepicker.formatDate("d_MM_yy", c) } );
+
   setHash(currentPage,  { blog: $.datepicker.formatDate("d_MM_yy", c) } );
   blog_loadDate(c);
   blog_loadDate(c);
Line 120: Line 120:
   function dp_onSelect(dateText, inst) {
   function dp_onSelect(dateText, inst) {
     var date = $(this).datepicker("getDate");
     var date = $(this).datepicker("getDate");
-
//alert("selected: " +dateText);
+
     setHash(currentPage, { blog: $.datepicker.formatDate("d_MM_yy", date) } );
-
     setHash('pages/blogtest', { blog: $.datepicker.formatDate("d_MM_yy", date) } );
+
   }
   }
Line 132: Line 131:
}
}
-
$(function() {
+
$(function() {
   loadScript('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js', function() {
   loadScript('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js', function() {

Revision as of 12:09, 3 August 2010

Blog

Follow our progress day by day via our blog. Also don't forget to become a fan of our Facebook page or follow us on Twitter.

Calendar

Today's post