Difference between revisions of "Template:2015Bottom"
(18 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
− | + | #footerWrap { | |
background-color: #f2f2f2; | background-color: #f2f2f2; | ||
width: 980px; | width: 980px; | ||
height: 125px; | height: 125px; | ||
− | margin-top:-20px; | + | margin-top:-20px; |
+ | z-index:100; | ||
} | } | ||
− | + | .insideFooter { | |
− | float: | + | float:right; |
width: 170px; | width: 170px; | ||
padding: 10px 10px 10px 10px; | padding: 10px 10px 10px 10px; | ||
− | |||
height: 103px; | height: 103px; | ||
margin: auto; | margin: auto; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
.insideFooter img{ | .insideFooter img{ | ||
Line 37: | Line 29: | ||
− | + | #footerWrap ul li{ | |
+ | font-family: "Arial", Helvetica, sans-serif; | ||
+ | font-size: 11px; | ||
+ | list-style:none; | ||
+ | } | ||
+ | |||
+ | #footerWrap ul li a{ | ||
font-weight: bold; | font-weight: bold; | ||
color: #434343; | color: #434343; | ||
Line 43: | Line 41: | ||
} | } | ||
− | + | #footerWrap ul li a:hover{ | |
color:#3aa76c; | color:#3aa76c; | ||
text-decoration:none; | text-decoration:none; | ||
Line 55: | Line 53: | ||
<!-- footer links --> | <!-- footer links --> | ||
− | <div | + | <div id="footerWrap"> |
− | + | ||
− | <div | + | <div class="insideFooter"> |
− | + | ||
<ul> | <ul> | ||
− | <li><a href="https://igem.org/ | + | <li><a href="https://igem.org/Press_Kit">Press Kit </a></li> |
− | <li><a href="https://igem.org/ | + | <li><a href="https://igem.org/Newsletters">Newsletter</a></li> |
− | <li><a href="https://igem.org/ | + | </ul> |
− | <li><a href=" | + | </div> |
− | <li><a href="https://igem.org/ | + | |
+ | <div class="insideFooter"> | ||
+ | <ul> | ||
+ | <li><a href="https://2015.igem.org/Special:Upload">Upload Files</a> </li> | ||
+ | <li><a href="https://2015.igem.org/Special:RecentChanges">Recent Changes</a></li> | ||
+ | <li><a href="https://2015.igem.org/Special:SpecialPages">Special Pages</a></li> | ||
</ul> | </ul> | ||
</div> | </div> | ||
− | <div | + | <div class="insideFooter"> |
<ul> | <ul> | ||
<li><a href="https://2015.igem.org/Requirements">Requirements</a></li> | <li><a href="https://2015.igem.org/Requirements">Requirements</a></li> | ||
Line 79: | Line 81: | ||
</div> | </div> | ||
− | <div | + | <div class="insideFooter"> |
<ul> | <ul> | ||
− | <li><a href="https:// | + | <li><a href="https://igem.org/About">About</a></li> |
− | <li><a href="https:// | + | <li><a href="https://igem.org/Contact">Contact</a></li> |
− | <li><a href="https:// | + | <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> | </ul> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | </div> | ||
− | |||
− | |||
− | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
− | </div> | + | // 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) --> | ||
+ | <script type="text/javascript"> | ||
+ | jQuery(".click_expand").css("cursor", "pointer").click(function(event) { | ||
+ | event.preventDefault(); | ||
+ | jQuery(this).next("div").slideToggle(); | ||
+ | }).next("div").hide(); | ||
+ | |||
+ | |||
+ | </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> | ||
Latest revision as of 22:54, 4 June 2015