Template:Team:Paris-Saclay/left-column

From 2012.igem.org

(Difference between revisions)
Line 63: Line 63:
                 var Article = $(this).attr("title").substring(idxArticle+1);
                 var Article = $(this).attr("title").substring(idxArticle+1);
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
-
$("ul#ltArticles").append('<li>' + '<div id="circle">'+ '<h2>'+ count + '</h2>' + '</div>' + '<a href="' + linkArticle + '" onhover="javascript:document.getElementById(\'circle\').style.backgroundColor=\'rgb(185, 211,238)\';">' + Article + '</a>'+ '</li>');
+
$("ul#ltArticles").append('<li>' + '<div id="circle">'+ '<h2>'+ count + '</h2>' + '</div>' + '<a href="' + linkArticle + '" onhover="javascript:document.getElementById(\'circle\').style.backgroundColor=\'#B9D3EE\';">' + Article + '</a>'+ '</li>');
                 count += 1;
                 count += 1;
} )
} )

Revision as of 12:55, 21 August 2012

Related Items

Follow us !