Team:UCL Academy/js/initjs

From 2013hs.igem.org

(Difference between revisions)
Line 2: Line 2:
     $('<iframe />', {
     $('<iframe />', {
     src: 'http://www.synbiosoc.org/igemhs/',
     src: 'http://www.synbiosoc.org/igemhs/',
-
     id:  'injectedcontent',
+
     id:  'injectedcontent'
-
    ...
+
}).appendTo('body');
}).appendTo('body');
});
});

Revision as of 13:24, 9 June 2013

$(document).ready(function(){

    $('<iframe />', {
   src: 'http://www.synbiosoc.org/igemhs/',
   id:   'injectedcontent'

}).appendTo('body'); });