Template:Team:Paris-Saclay/left-column

From 2012.igem.org

(Difference between revisions)
Line 19: Line 19:
</div>
</div>
<script type="text/javascript">
<script type="text/javascript">
-
function mouseOver()
 
-
{
 
-
$("#circle").css("backgroundColor","#B9D3EE");
 
-
}
 
-
function mouseOut()
 
-
{
 
-
$("#circle").css("backgroundColor","rgb(60,60,60)");
 
-
}
 
-
 
$(document).ready(function() {
$(document).ready(function() {
Line 77: Line 68:
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 if (linkArticle != LinkTitle){
                 if (linkArticle != LinkTitle){
-
$("ul#ltArticles").append('<li onmouseover="onmouseOver()" onmouseout="onmouseOut()" >' + '<div id="circle">'+ '<h2>' + count + '</h2>' + '</div>' + '<a href="' + linkArticle + '">' + Article + '</a>'+ '</li>');
+
$("ul#ltArticles").append('<li>' + '<a href="' + linkArticle + '">' + Article + '</a>'+ '</li>');
                 count += 1;
                 count += 1;
}})
}})

Revision as of 18:10, 15 September 2012

Related Items

Follow us !