Difference between revisions of "Team:Shanghaitech"

Line 16: Line 16:
 
</style>
 
</style>
 
<script>
 
<script>
$(document).ready(function(){$('<div id="home-button-bg"></div>').appendTo("#home-button")})
+
$(document).ready(function(){$("#home-button").innerHTML = '<div id="home-button-bg"></div>';})
 
</script>
 
</script>
 
</head>
 
</head>
Line 24: Line 24:
 
<div id="content-block" style="max-width:none;padding:0px">
 
<div id="content-block" style="max-width:none;padding:0px">
 
<div id="home-story-wrapper" style="position:relative;margin-bottom: 200px;">
 
<div id="home-story-wrapper" style="position:relative;margin-bottom: 200px;">
     <a href="https://2017.igem.org/Team:Shanghaitech/project" id="home-button"></a>
+
     <a href="https://2017.igem.org/Team:Shanghaitech/project" id="home-button"><div id="home-button-bg"></div></a>
 
     <img src="https://static.igem.org/mediawiki/2017/0/0b/T--Shanghaitech--Home-Homepage-story.png" alt="homepage-story" style="width:100%;height:auto;max-height:none" height=3000 width=2388/>
 
     <img src="https://static.igem.org/mediawiki/2017/0/0b/T--Shanghaitech--Home-Homepage-story.png" alt="homepage-story" style="width:100%;height:auto;max-height:none" height=3000 width=2388/>
 
</div>
 
</div>

Revision as of 15:36, 1 November 2017