Difference between revisions of "Template:Fudan"

(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/7a0fee51-a637-4caf-aa97-a1d9bcafd3ba');
+
$(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 ((wintop/(docheight-winheight)) > 0.75) {
+
   if ((wintop/(docheight-winheight)) > 0.75) {
 
     active_based_href();
 
     active_based_href();
 
   }
 
   }

Revision as of 02:16, 2 December 2020