Team:UCLondon/Templates/timeline-struct
From 2012e.igem.org
(Difference between revisions)
Line 108: | Line 108: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | + | ||
$(document).ready(function(event) { | $(document).ready(function(event) { | ||
// get all the elements which meet the {{{class}}} and .tl-item | // get all the elements which meet the {{{class}}} and .tl-item | ||
- | var list = $('.tl-item.</html>{{{class}}}<html> > ul'); | + | var list = $('.tl-item.</html>{{{class}}}<html> > ul li'); |
//alert(list.length); | //alert(list.length); | ||
- | var target = $(' | + | var target = $('#timeline.</html>{{{class}}}<html>'); |
- | + | $(target).children('#dates').append(list[0]); | |
- | + | $(target).children('#issues').append(list[0]); | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | /* | |
target.children('ul').html( str ); | target.children('ul').html( str ); | ||
var nHeight = $('.MBContent').height(); | var nHeight = $('.MBContent').height(); | ||
$('.MBWikiStyle').css('height', nHeight); | $('.MBWikiStyle').css('height', nHeight); | ||
+ | */ | ||
+ | |||
+ | |||
+ | $(function(){ | ||
+ | $().timelinr() | ||
+ | }); | ||
}); | }); | ||
- | |||
Line 140: | Line 142: | ||
- | + | ||
- | + | ||
- | + | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 06:52, 20 October 2012
-
Lorem ipsum.
-
Lorem ipsum.
-
Lorem ipsum.
-
Lorem ipsum.
-
Lorem ipsum.
-
Lorem ipsum.
-
Lorem ipsum.
-
Lorem ipsum.