Line 31: | Line 31: | ||
} | } | ||
</style> | </style> | ||
+ | <script> | ||
+ | <script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | $(function () { | ||
+ | |||
+ | |||
+ | |||
+ | var city_top = 810; | ||
+ | |||
+ | $('#main-btn').click(function () { | ||
+ | |||
+ | $('html,body').animate({scrollTop:city_top},810); | ||
+ | |||
+ | }) | ||
+ | |||
+ | }) | ||
+ | </script> | ||
</head><body> | </head><body> | ||
<script type="text/javascript" src="https://2018.igem.org/Template:TUST_China/js/mainbackground?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2018.igem.org/Template:TUST_China/js/mainbackground?action=raw&ctype=text/javascript"></script> | ||
+ | <button id="main-btn" class="btn" onclick="sild()">Read<br>More</button> | ||
<div id="mainbackground3d" class="mainbackground3d" style="top:-2px;"> | <div id="mainbackground3d" class="mainbackground3d" style="top:-2px;"> | ||
Line 91: | Line 118: | ||
<div class="first-content"> </div> | <div class="first-content"> </div> | ||
</div> | </div> | ||
+ | </div> | ||
+ | <div> | ||
+ | |||
+ | <img src="https://static.igem.org/mediawiki/2018/2/29/T--TUST_China--mainzhubai.png" width="103%" style="left: -5px;top:790px;position: absolute"/> | ||
</div> | </div> | ||
<script> | <script> |
Revision as of 18:28, 17 October 2018