Team:TU Delft/pages/blogtest
From 2010.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
Follow our progress day by day via our blog. Also don't forget to become a fan of our [http://tiny.cc/igemtudelft Facebook page] or [http://twitter.com/igemtudelft2010 follow us on Twitter]. | Follow our progress day by day via our blog. Also don't forget to become a fan of our [http://tiny.cc/igemtudelft Facebook page] or [http://twitter.com/igemtudelft2010 follow us on Twitter]. | ||
- | <html> | + | ==Calendar== |
+ | <html><div id="calendar_container" style="width: auto;"></html> | ||
+ | {{:Team:TU_Delft/basic_calendar}} | ||
+ | <html></div> | ||
+ | |||
<h2><span class="mv-headline" id="blog_item_date">Today's post</span></h2> | <h2><span class="mv-headline" id="blog_item_date">Today's post</span></h2> | ||
<div id="blog_item_container"></div> | <div id="blog_item_container"></div> | ||
Line 10: | Line 14: | ||
</html> | </html> | ||
- | + | <html> | |
- | <html> | + | |
- | + | ||
- | + | ||
- | + | ||
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> | <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> | ||
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> | <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> | ||
Line 67: | Line 67: | ||
$(this).html(response); | $(this).html(response); | ||
$("#blog_item_date").text(jQuery.datepicker.formatDate("d MM yy", date)); | $("#blog_item_date").text(jQuery.datepicker.formatDate("d MM yy", date)); | ||
+ | // <fb:comments xid="igemblogpost"></fb:comments> | ||
+ | |||
+ | |||
next(); | next(); | ||
}).fadeIn(200); | }).fadeIn(200); | ||
Line 80: | Line 83: | ||
return [wgUserName ? true : hasBlogItem, hasBlogItem ? 'day_with_blog' : 'day_no_blog']; | return [wgUserName ? true : hasBlogItem, hasBlogItem ? 'day_with_blog' : 'day_no_blog']; | ||
} | } | ||
+ | |||
+ | // facebook initialization code | ||
+ | window.fbAsyncInit = function() { | ||
+ | FB.init({appId: '132572820109093', status: true, cookie: true, xfbml: true}); | ||
+ | }; | ||
+ | |||
+ | var e = document.createElement('script'); e.async = true; | ||
+ | e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; | ||
+ | document.getElementById('fb-root').appendChild(e); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 14:31, 5 July 2010
For some reason, there needs to be an empty line at the start otherwise the wiki markup is not working correctly on the main page
Blog
Follow our progress day by day via our blog. Also don't forget to become a fan of our [http://tiny.cc/igemtudelft Facebook page] or [http://twitter.com/igemtudelft2010 follow us on Twitter].
Calendar
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Today's post