Template:TeamBYUProvo

From 2012.igem.org

(Difference between revisions)
Line 97: Line 97:
           $('#mytext').toggle();
           $('#mytext').toggle();
       });
       });
 +
 +
  $('#menubar').moveTo('#footermenu');
 +
   });
   });
 +
 +
(function($){
 +
    $.fn.moveTo = function(selector){
 +
        return this.each(function(){
 +
            var cl = $(this).clone();
 +
            $(cl).appendTo(selector);
 +
            $(this).remove();
 +
        });
 +
    };
 +
})(jQuery);
 +
</script>
</script>
</html>
</html>

Revision as of 04:03, 1 October 2012