Team:UCLondon/Templates/links-footer
From 2012e.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<div id="footer-links"> | <div id="footer-links"> | ||
- | <div id="foot-icon1"></div> | + | <div id="foot-icon1" style="float:left;"></div> |
<p class="left-footer">Morph Bioinformatics</p> | <p class="left-footer">Morph Bioinformatics</p> | ||
<ul class="right-footer"> | <ul class="right-footer"> | ||
Line 12: | Line 12: | ||
<li><a href="#">MediaWiki</a><ul class='mediawiki-footer'><li>item1</li></ul></li> | <li><a href="#">MediaWiki</a><ul class='mediawiki-footer'><li>item1</li></ul></li> | ||
</ul> | </ul> | ||
- | <div id="foot-icon2"></div> | + | <div id="foot-icon2" style="float:left;></div> |
</div> | </div> | ||
Line 83: | Line 83: | ||
*/ | */ | ||
- | margin:auto; | + | width:90%; |
- | + | margin-left:auto; | |
+ | margin-right:auto; | ||
+ | |||
margin-bottom: 20px; | margin-bottom: 20px; | ||
Line 101: | Line 103: | ||
#footer-links .left-footer { | #footer-links .left-footer { | ||
float:left; | float:left; | ||
+ | padding-left:10px; | ||
} | } | ||
Line 128: | Line 131: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
+ | |||
+ | // get links from mwiki footer and put into our footer | ||
var myarr = $('#footer-box > #footer').children().filter('#f-list'); | var myarr = $('#footer-box > #footer').children().filter('#f-list'); | ||
Line 138: | Line 143: | ||
$('.mediawiki-footer').html(mystr); | $('.mediawiki-footer').html(mystr); | ||
+ | |||
+ | |||
+ | //get icons and put into our footer | ||
+ | |||
+ | $('#foot-icon2').html( $('#f-copyrightico').html() ); | ||
+ | $('#foot-icon1').html( $('#f-poweredbyico').html() ); | ||
+ | |||
}); | }); | ||
Revision as of 03:39, 14 September 2012