(after vgj) |
|||
Line 21: | Line 21: | ||
if ( $(this).attr('href') === '#') { | if ( $(this).attr('href') === '#') { | ||
// Video | // Video | ||
− | $(this).attr('href', 'https://video.igem.org/videos/watch/ | + | $(this).attr('href', 'https://video.igem.org/videos/watch/cb2d852a-e3de-48da-9648-2f1bbc545483'); |
+ | // 20-min presentation | ||
+ | // recut | ||
$(this).attr('target', '_blank'); | $(this).attr('target', '_blank'); | ||
} else if ( $(this).attr('href') === 'https://2019.igem.org/Team:Fudan-TSI/Heritage' ) { | } else if ( $(this).attr('href') === 'https://2019.igem.org/Team:Fudan-TSI/Heritage' ) { | ||
Line 41: | Line 43: | ||
$(window).scroll(function(){ | $(window).scroll(function(){ | ||
var wintop = $(window).scrollTop(), docheight = $(document).height(), winheight = $(window).height(), winW = $(window).width(); | var wintop = $(window).scrollTop(), docheight = $(document).height(), winheight = $(window).height(), winW = $(window).width(); | ||
− | if | + | if ((wintop/(docheight-winheight)) > 0.75) { |
active_based_href(); | active_based_href(); | ||
} | } |
Revision as of 02:16, 2 December 2020