Team:Hong Kong HKUST/alfipage
From 2014.igem.org
(Created page with "<html> <head> <style> element.style { margin-top: 50px; opacity: 1; } #content { color: #000000; line-height: 1.5em; } #globalWrapper { font-size: 127%; } ...") |
|||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <head> | + | <head> |
- | + | <style> | |
- | <style> | + | .pull-right{ |
- | + | float: right} | |
- | + | ||
- | + | .thumbnail { | |
- | + | border: 1px solid #ddd; | |
- | + | border-radius: 4px; | |
+ | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); | ||
+ | display: block; | ||
+ | line-height: 20px; | ||
+ | padding: 4px; | ||
+ | transition: all 0.2s ease-in-out 0s; | ||
} | } | ||
- | + | img { | |
- | + | vertical-align: middle;} | |
- | + | ||
- | + | element.style { | |
- | + | text-align: justify; | |
- | + | width: 450px; | |
- | } | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .pull-left { | |
+ | float: left;} | ||
+ | |||
</style> | </style> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | <link rel="stylesheet" href="https://2014.igem.org/wiki/index.php?title=Template:Team:Hong_Kong_HKUST/indexpage.css&action=raw&ctype=text/css" type="text/css" > | ||
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js"></script> | <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js"></script> | ||
- | <script> | + | |
+ | |||
+ | |||
+ | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$(window).scroll(function(){ | $(window).scroll(function(){ | ||
Line 219: | Line 45: | ||
</script> | </script> | ||
- | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<script> | <script> | ||
var on = true; | var on = true; | ||
Line 244: | Line 75: | ||
} | } | ||
</script> | </script> | ||
- | </head> | + | </head> |
- | <body> | + | |
- | <div id='nav_container'> | + | <body> |
+ | <div id='nav_container'> | ||
<nav> | <nav> | ||
Line 316: | Line 148: | ||
</div> | </div> | ||
- | + | ||
- | + | <!DOCTYPE html> | |
- | < | + | <html> |
- | < | + | <head> |
- | < | + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> |
- | <div class=" | + | <meta charset=utf-8 /> |
- | < | + | <title>HTML5 jQuery Tabs</title> |
- | < | + | <style id="jsbin-css"> |
- | < | + | .tabs a{ |
- | < | + | cursor: pointer; |
- | < | + | padding: 4px; |
- | < | + | background: #fff; |
+ | color: #000; | ||
+ | border: 1px solid #fff; | ||
+ | border-bottom: 1px; | ||
+ | border-top-left-radius: 15px; | ||
+ | border-top-right-radius: 15px; | ||
+ | margin-right: 3px; | ||
+ | padding-left: 20px; | ||
+ | padding-right: 20px; | ||
+ | } | ||
+ | .tabs a:hover, .tabs a.active{ | ||
+ | background: #666; | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | .tabContent{ | ||
+ | background:#fff; | ||
+ | border: 1px solid #fff; | ||
+ | margin: 1px 0; | ||
+ | padding-left: 30px; | ||
+ | padding-right: 30px; | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
+ | <div class="tabs"> | ||
+ | <a data-toggle="tab1">HKUST</a> | ||
+ | <a data-toggle="tab2">Students</a> | ||
+ | <a data-toggle="tab3">Advisers</a> | ||
+ | </div> | ||
+ | <div class="tabContent"> | ||
+ | |||
+ | <div id="tab1"> | ||
+ | <table> | ||
+ | <col width="50%"> | ||
+ | <col width="50%"> | ||
+ | |||
+ | <tr><td colspan=2> | ||
+ | <h2>HKUST</h2></td></tr> | ||
+ | <tr><td> | ||
+ | <p style="font-size:16px"; align="justify"> | ||
+ | The Hong Kong University of Science and Technology is an international research university. Founded | ||
+ | in 1991, HKUST is an international research university with strong ties to global thought leaders, | ||
+ | whilst having wide-ranging connections with Mainland China. It promotes interdisciplinary studies, | ||
+ | dedicated to educating well-rounded students to acquire a strong entrepreneurial spirit and innovative | ||
+ | thinking at the necessary foundation and skills for the changing world. The University is housed in a | ||
+ | hillside and waterfront complex overlooking the Clear Water Bay peninsula, less than 30 minutes' driving | ||
+ | time from Central Hong Kong. | ||
+ | <br> | ||
+ | <br> | ||
+ | You can follow our activity in the most common social networks: | ||
+ | <br> | ||
+ | <a href=""> | ||
+ | <img title="Facebook" alt="Facebook" src="https://static.igem.org/mediawiki/2013/9/91/1380788391_facebook_square.png"> | ||
</a> | </a> | ||
- | < | + | <a href=""> |
- | + | <img title="Twitter" alt="Twitter" src="https://static.igem.org/mediawiki/2013/b/b6/1380788385_twitter_square.png"> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <img | + | |
</a> | </a> | ||
- | + | <a href=""> | |
- | + | <img title="Youtube" alt="Youtube" src="https://static.igem.org/mediawiki/2013/e/ea/1380788439_youtube_square_color.png"> | |
- | <a | + | |
- | <img | + | |
</a> | </a> | ||
- | + | <a href=""> | |
- | + | <img title="Instagram" alt="Instagram" src="https://static.igem.org/mediawiki/2013/5/5f/1380788401_instagram_square_color.png"> | |
- | <a | + | |
- | <img | + | |
</a> | </a> | ||
- | < | + | <br> |
- | < | + | <br> |
- | + | If you want to contact us, become a sponsor or you liked the idea, please address us using the button below: | |
- | + | <br> | |
- | < | + | |
- | + | <a class="btn btn-primary btn-large" href="mailto:vlc.biocampus.igem@gmail.com?subject='Contact from iGEM'">Contact us</a> | |
- | + | ||
- | <a class=" | + | </p></td> |
- | + | <td valign="top"><img class="thumbnail pull-right" style="width:400px" alt="The team" src="https://www.ab.ust.hk/hro/PubDoc/careers/common/photos/hkust.jpg"></td> | |
- | </a> | + | </tr></table> |
- | </ | + | |
- | < | + | <div id="thumbs" class="navigation"> |
- | < | + | <ul class="thumbs noscript"> |
- | <img | + | <li> |
- | </ | + | <a class="thumb" name="leaf" href="http://farm4.static.flickr.com/3261/2538183196_8baf9a8015.jpg" title="Title #0"> |
- | </ | + | <img src="http://farm4.static.flickr.com/3261/2538183196_8baf9a8015_s.jpg" alt="Title #0" /> |
- | < | + | </a> |
- | < | + | <div class="caption"> |
- | < | + | |
- | < | + | <div class="image-title">Title #0</div> |
- | + | <div class="image-desc">Description</div> | |
- | + | </div> | |
- | <a class="thumb" | + | </div> |
- | + | ||
- | + | <div id="tab2"> | |
- | + | ||
- | + | <div id="thumbs" class="navigation"> | |
- | + | <ul class="thumbs noscript"> | |
- | <img | + | <li> |
- | + | <a class="thumb" name="leaf" href="http://farm4.static.flickr.com/3261/2538183196_8baf9a8015.jpg" title="Title #0"> | |
- | + | <img src="http://farm4.static.flickr.com/3261/2538183196_8baf9a8015_s.jpg" alt="Title #0" /> | |
- | + | </a> | |
- | + | <div class="caption"> | |
- | + | ||
- | </a> | + | <div class="image-title">Title #0</div> |
- | < | + | <div class="image-desc">Description</div> |
- | + | </div> | |
- | < | + | |
- | + | </div> | |
- | </ | + | |
- | < | + | <div id="tab3"> |
- | + | <table width="100%" height="171" border="10" align="center" cellpadding="0" cellspacing="0" class="curvedEdges"> | |
- | < | + | <tr><td>Advisers<br><br>Hello!</td></tr> |
- | + | </table> | |
- | </ | + | </div> |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | + | ||
- | + | ||
- | <a class="thumb" | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <img | + | |
- | </a> | + | |
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | </ | + | |
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
</div> | </div> | ||
- | < | + | <script id="jsbin-javascript"> |
- | + | ;(function($){ | |
+ | $.fn.html5jTabs = function(options){ | ||
+ | return this.each(function(index, value){ | ||
+ | var obj = $(this), | ||
+ | objFirst = obj.eq(index), | ||
+ | objNotFirst = obj.not(objFirst); | ||
+ | |||
+ | $("#" + objNotFirst.attr("data-toggle")).hide(); | ||
+ | $(this).eq(index).addClass("active"); | ||
+ | |||
+ | obj.click(function(evt){ | ||
+ | |||
+ | toggler = "#" + obj.attr("data-toggle"); | ||
+ | togglerRest = $(toggler).parent().find("div"); | ||
+ | |||
+ | togglerRest.hide().removeClass("active"); | ||
+ | $(toggler).show().addClass("active"); | ||
+ | |||
+ | $(this).parent("div").find("a").removeClass("active"); | ||
+ | $(this).addClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | }; | ||
+ | }(jQuery)); | ||
+ | $(function() { | ||
+ | $(".tabs a").html5jTabs(); | ||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 10:20, 28 September 2014
HKUST | |
The Hong Kong University of Science and Technology is an international research university. Founded
in 1991, HKUST is an international research university with strong ties to global thought leaders,
whilst having wide-ranging connections with Mainland China. It promotes interdisciplinary studies,
dedicated to educating well-rounded students to acquire a strong entrepreneurial spirit and innovative
thinking at the necessary foundation and skills for the changing world. The University is housed in a
hillside and waterfront complex overlooking the Clear Water Bay peninsula, less than 30 minutes' driving
time from Central Hong Kong.
|
Advisers Hello! |