Template:Montgomery Cougars NJUSA/Common JS

From 2014hs.igem.org

(Difference between revisions)
(Replaced content with "- Edit this file: https://2014hs.igem.org/wiki/index.php?title=Template:Montgomery_Cougars_NJUSA/Common_CSS&action=edit: /* https://2011.igem.org/Team:DTU-Denmark/How_to_cu...")
(New theme!)
Line 7: Line 7:
     }).remove();
     }).remove();
     $("br:only-child").remove();
     $("br:only-child").remove();
-
     $(".bxslider").bxSlider();
+
      
 +
    var unslider = $('#slider').unslider({
 +
        delay: 1500,
 +
        fluid: true
 +
    });
});
});

Revision as of 21:06, 13 June 2014

/* Edit this file: https://2014hs.igem.org/wiki/index.php?title=Template:Montgomery_Cougars_NJUSA/Common_CSS&action=edit */

/* https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki#Remove_all_empty_.3Cp.3E.3C.2Fp.3E_tags */ $(document).ready(function() {

   $("p").filter( function() {
       return $.trim($(this).html()) == ;
   }).remove();
   $("br:only-child").remove();
   
   var unslider = $('#slider').unslider({
       delay: 1500,
       fluid: true
   });

});