Team:UNITN-Trento/Templates/Notebook
From 2013.igem.org
(Difference between revisions)
Line 104: | Line 104: | ||
var tags = data.tags; | var tags = data.tags; | ||
- | div = $('<div></div>').attr('id' , 'tn-post-'+date+"-"+author).addClass('tn-post').attr('data-user' , author).attr('data-title' , title).attr('data-date' , date).attr('data-tag' , tags).append($("<div></div>").addClass('tn-text').html(content)).prepend($("<a href='" + href + "&action=edit' class='tn-editpost'><img src='https://static.igem.org/mediawiki/2013/0/04/Tn-20130709-edit_button.png' title='Edit' alt='Edit' /></a>")); | + | div = $('<div></div>').attr('id' , 'tn-post-'+date+"-"+author).addClass('tn-post').attr('data-user' , author).attr('data-title' , title).attr('data-date' , date).attr('data-tag' , tags).append($("<div></div>").addClass('tn-text').html(content)).prepend($("<a href='" + href.replace('amp;','') + "&action=edit' class='tn-editpost'><img src='https://static.igem.org/mediawiki/2013/0/04/Tn-20130709-edit_button.png' title='Edit' alt='Edit' /></a>")); |
$("<center></center>").append($(div)).appendTo($("#aj_cont")); | $("<center></center>").append($(div)).appendTo($("#aj_cont")); |
Revision as of 07:59, 19 August 2013
[http://2013.igem.org/wiki/index.php?title=Team:UNITN-Trento/Templates/Notebook&action=edit Edit this page] | Main Page
Retrieved from "http://2013.igem.org/Team:UNITN-Trento/Templates/Notebook"