Mazel:Publications
From OpenWetWare
(Difference between revisions)
Current revision (14:08, 7 March 2011) (view source) |
|||
| (13 intermediate revisions not shown.) | |||
| Line 5: | Line 5: | ||
<html> | <html> | ||
| + | <style type="text/css"> | ||
| + | li{ | ||
| + | padding-bottom:5px; | ||
| + | } | ||
| + | a.pap{ | ||
| + | font-weight:bold; | ||
| + | } | ||
| + | .journal{ | ||
| + | font-weight:bold; | ||
| + | |||
| + | } | ||
| + | </style> | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
| + | |||
| + | var d = new Date(); | ||
| + | curr_year = d.getFullYear(); | ||
$.getJSON('http://www.citeulike.org/json/group/5581//order/year,,?callback=?', | $.getJSON('http://www.citeulike.org/json/group/5581//order/year,,?callback=?', | ||
function(data) { | function(data) { | ||
var items = []; | var items = []; | ||
| - | + | year=curr_year | |
$.each(data, function(i) { | $.each(data, function(i) { | ||
| - | var cit='<li id="' + i + '">' + '<a href="http://dx.doi.org/'+data[i].doi+'">'+ data[i].title + '</a><br>'; | + | if (data[i].published[0]!==year){ |
| + | items.push( '<h3>' + data[i].published[0] + '</h3>'); | ||
| + | } | ||
| + | year=data[i].published[0]; | ||
| + | var cit='<li id="' + i + '">' + '<a class="pap" href="http://dx.doi.org/'+data[i].doi+'">'+ data[i].title + '</a><br>'; | ||
cit+=data[i].authors.join(', ') + ', '; | cit+=data[i].authors.join(', ') + ', '; | ||
| - | + | ||
| - | cit+='< | + | cit+='<span class="journal">' + data[i].journal + '</span>, '+ year; |
cit+='</li>'; | cit+='</li>'; | ||
items.push( cit ) | items.push( cit ) | ||
Current revision
Home Research Publications Plasmids / Strains Protocols Lab Members Contact Internal Links
Browse our papers by tags on CiteULike


