Template:Team:Edinburgh/Code
From 2013.igem.org
(Difference between revisions)
Hristianita (Talk | contribs) |
Hristianita (Talk | contribs) |
||
Line 206: | Line 206: | ||
.notebookEntry { | .notebookEntry { | ||
margin-bottom: 40px; | margin-bottom: 40px; | ||
+ | } | ||
+ | |||
+ | .backToTop { | ||
+ | text-align: right; | ||
+ | } | ||
+ | |||
+ | .backToTop a:visited{ | ||
+ | color: #2b6196; | ||
} | } | ||
Line 476: | Line 484: | ||
var notebookEntries = document.getElementsByClassName("notebookEntry"); | var notebookEntries = document.getElementsByClassName("notebookEntry"); | ||
for (var i = 0; i < notebookEntries.length; i++ ) { | for (var i = 0; i < notebookEntries.length; i++ ) { | ||
- | notebookEntries[i].innerHTML += "<p | + | notebookEntries[i].innerHTML += "<p class="backToTop" ><a href='#top'>Back to top</a></p>" |
} | } | ||
}); | }); |
Revision as of 09:26, 30 September 2013