Difference between revisions of "Template:2015Bottom"
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
#footerWrap { | #footerWrap { | ||
− | background-color: # | + | background-color: #f2f2f2; |
width: 980px; | width: 980px; | ||
height: 125px; | height: 125px; | ||
Line 54: | Line 54: | ||
<!-- footer links --> | <!-- footer links --> | ||
<div id="footerWrap"> | <div id="footerWrap"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div class="insideFooter"> | <div class="insideFooter"> | ||
Line 72: | Line 61: | ||
</ul> | </ul> | ||
</div> | </div> | ||
− | |||
<div class="insideFooter"> | <div class="insideFooter"> | ||
Line 81: | Line 69: | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | |||
<div class="insideFooter"> | <div class="insideFooter"> | ||
Line 92: | Line 81: | ||
</div> | </div> | ||
+ | <div class="insideFooter"> | ||
+ | <ul> | ||
+ | <li><a href="https://igem.org/About">About</a></li> | ||
+ | <li><a href="https://igem.org/Contact">Contact</a></li> | ||
+ | <li><a href="https://igem.org/Sponsorship"> Sponsor</a></li> | ||
+ | <li><a href="http://parts.igem.org/Main_Page">Registry</a></li> | ||
+ | <li><a href="https://igem.org/Main_Page"> igem.org</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | |||
+ | |||
+ | // Places first heading on top part of the page, inside a h1(#placeHeading) in #pageTitle | ||
+ | $('.firstHeading').prependTo('#placeHeading'); | ||
+ | |||
+ | // Attaches a hover script to every item with the class 'pop_why' | ||
+ | $('.pop_why').hover( | ||
+ | function() { | ||
+ | // Does the pop_why need to be installed? | ||
+ | if ( ! $(this).children('.pop_why_div').length ) { | ||
+ | $(this).append("<DIV class='pop_why_div' style='display:block'>Loading...</div>"); | ||
+ | $(this).find('.pop_why_div').load( $(this).attr("data-poptitle") + '?action=raw' ); | ||
+ | } | ||
+ | var foo = $(this).find('.pop_why_div').show(); | ||
+ | } , | ||
+ | function() { | ||
+ | $(this).find('.pop_why_div').clearQueue(); | ||
+ | $(this).find('.pop_why_div').hide(); | ||
+ | $(this).find('.pop_why_div').clearQueue(); | ||
+ | $(this).find('.pop_why_div').hide(); | ||
+ | } | ||
+ | ); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
− | |||
<!-- Click binding for "click to expand" boxes (see Code Documentation for details) --> | <!-- Click binding for "click to expand" boxes (see Code Documentation for details) --> | ||
Line 105: | Line 132: | ||
jQuery(this).next("div").slideToggle(); | jQuery(this).next("div").slideToggle(); | ||
}).next("div").hide(); | }).next("div").hide(); | ||
+ | |||
+ | |||
</script> | </script> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | if ($('#fullWidth').length){ | ||
+ | $('#igemLogo').css('position','relative'); | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | |||
+ | $(document).ready(function(){ | ||
+ | if ($('#mw-previewheader').length > 0) { | ||
+ | $('#leftColumn').css('display', 'none'); | ||
+ | $('#igemLogo').css('display', 'none'); | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
</html> | </html> |
Latest revision as of 22:54, 4 June 2015