Template:Team:Paris-Saclay/left-column
From 2012.igem.org
(Difference between revisions)
YohannPetiot (Talk | contribs) |
YohannPetiot (Talk | contribs) |
||
Line 16: | Line 16: | ||
</div> | </div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | function mouseOver() | ||
+ | { | ||
+ | $("div#circle").css("backgroundColor","#B9D3EE"); | ||
+ | } | ||
+ | function mouseOut() | ||
+ | { | ||
+ | $("div#circle").css("backgroundColor","rgb(60,60,60)"); | ||
+ | } | ||
+ | |||
+ | |||
$(document).ready(function() { | $(document).ready(function() { | ||
var url = document.location.href; | var url = document.location.href; | ||
Line 63: | Line 73: | ||
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 + ' | + | $("ul#ltArticles").append('<li>' + '<div id="circle">'+ '<h2>'+ count + '</h2>' + '</div>' + '<a href="' + linkArticle + '">' + Article + '</a>'+ '</li>'); |
count += 1; | count += 1; | ||
} ) | } ) |
Revision as of 13:12, 21 August 2012
Follow us !