Team:IIT Madras/Templates/head
From 2013.igem.org
(Difference between revisions)
JunaidBabu (Talk | contribs) |
JunaidBabu (Talk | contribs) |
||
(14 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html lang="en" class="no-js"> | <html lang="en" class="no-js"> | ||
<head> | <head> | ||
- | <link rel="stylesheet" type="text/css" href=" | + | <link rel="stylesheet" type="text/css" href="http://junaidbabu.github.io/igem-iitm-2013/css/style.min.css" media="screen"> |
Line 130: | Line 130: | ||
</style> | </style> | ||
</head> | </head> | ||
+ | <script type="text/javascript"> | ||
+ | var a=0, b=0; | ||
+ | function OnScrollDiv (div) { | ||
+ | a=div.scrollY; | ||
+ | if(a<b){ | ||
+ | $("#wrap").css({position: 'fixed', left: '78px', top: '27px'}); | ||
+ | }else{ | ||
+ | $("#wrap").css({position: 'absolute', right: '0px', top: '10px'}); | ||
+ | } | ||
+ | b=a; | ||
- | <body id="sort" class="picturefill-wait"> | + | } |
+ | </script> | ||
+ | <body id="sort" class="picturefill-wait" onscroll="OnScrollDiv (this)"> | ||
+ | <!--Facebook, Twitter, Google Plus Float Sharer Starts--> | ||
+ | <!--Style section--> | ||
+ | <style> | ||
+ | .float_sharer | ||
+ | { | ||
+ | text-align:center; | ||
+ | width:70px; | ||
+ | border-radius: 10px; | ||
+ | background-color:white; | ||
+ | padding : 10px; | ||
+ | position: fixed; | ||
+ | box-shadow:0 0 10px #999 inset; | ||
+ | top: 200px; | ||
+ | left: 0px; | ||
+ | z-index: 10; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
+ | <div class='float_sharer'> | ||
+ | <div class='fb-like' href="https://facebook.com/iitmigem" data-layout='box_count' data-send='false' data-show-faces='false' data-width='50'/> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="fb-root"></div> | ||
+ | <script>(function(d, s, id) { | ||
+ | var js, fjs = d.getElementsByTagName(s)[0]; | ||
+ | if (d.getElementById(id)) return; | ||
+ | js = d.createElement(s); js.id = id; | ||
+ | js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; | ||
+ | fjs.parentNode.insertBefore(js, fjs); | ||
+ | }(document, 'script', 'facebook-jssdk'));</script> | ||
+ | |||
+ | |||
<div class="container"> | <div class="container"> | ||
<header class="row"> | <header class="row"> | ||
Line 152: | Line 197: | ||
<ul class="navbar"> | <ul class="navbar"> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras"> |
Home | Home | ||
</a> | </a> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/Team"> |
Team | Team | ||
</a> | </a> | ||
Line 163: | Line 208: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/project"> |
- | + | Project | |
</a> | </a> | ||
<ul> | <ul> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/notebook" > |
Notebook | Notebook | ||
</a> | </a> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/modeling"> |
Modeling | Modeling | ||
</a> | </a> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/About"> |
About | About | ||
</a> | </a> | ||
Line 186: | Line 231: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/parts"> |
Parts | Parts | ||
</a> | </a> | ||
Line 192: | Line 237: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/safety"> |
Safety | Safety | ||
</a> | </a> | ||
Line 198: | Line 243: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/human_practices"> |
Human Practices | Human Practices | ||
</a> | </a> | ||
Line 204: | Line 249: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2013.igem.org/Team:IIT_Madras/attributions"> |
Attributions | Attributions | ||
</a> | </a> | ||
Line 211: | Line 256: | ||
</ul> | </ul> | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Latest revision as of 16:45, 20 September 2013