Team:UCL Academy/js/initjs
From 2013hs.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('<iframe />', { | $('<iframe />', { | ||
- | src: 'http://www.synbiosoc.org/igemhs/' + window.location.hash, | + | src: 'http://www.synbiosoc.org/igemhs/' + window.location.hash.substr(1), |
id: 'injectedcontent' | id: 'injectedcontent' | ||
}).appendTo('body'); | }).appendTo('body'); | ||
}); | }); |
Revision as of 19:14, 11 June 2013
$(document).ready(function(){
$('<iframe />', { src: 'http://www.synbiosoc.org/igemhs/' + window.location.hash.substr(1), id: 'injectedcontent'
}).appendTo('body'); });