Template:Team:HokkaidoU Japan/HumanPractice/script
From 2011.igem.org
(Difference between revisions)
Line 9: | Line 9: | ||
var $box = $('<div>').addClass('footnote-box'); | var $box = $('<div>').addClass('footnote-box'); | ||
var $footnote = $(data).find('div#contentSub').nextAll('p'); | var $footnote = $(data).find('div#contentSub').nextAll('p'); | ||
- | $box.append($footnote); | + | $box.append($('<div>').append($footnote).addClass('footnote-content')); |
$('body').append($box); | $('body').append($box); | ||
$box.append($('<span>').addClass('close').addClass('close-btn-32')).lightbox_me({ | $box.append($('<span>').addClass('close').addClass('close-btn-32')).lightbox_me({ | ||
- | destroyOnClose : true | + | destroyOnClose : true, |
+ | modalCSS : { 'top' : '100px' } | ||
}); | }); | ||
}); | }); |
Revision as of 15:40, 5 October 2011