Team:UCLondon/Templates/links-footer

From 2012e.igem.org

(Difference between revisions)
 
(21 intermediate revisions not shown)
Line 2: Line 2:
<div id="footer-links">
<div id="footer-links">
 +
      <div id="foot-icon1"></div>
 +
                <div class="vertical">
<p class="left-footer">Morph Bioinformatics</p>
<p class="left-footer">Morph Bioinformatics</p>
<ul class="right-footer">
<ul class="right-footer">
-
<li><a href="#">MediaWiki</a><ul class='mediawiki-footer'><li>item1</li></ul></li>
 
<li><a href="#">Home</a></li>
<li><a href="#">Home</a></li>
<li><a href="#">Downloads</a></li>
<li><a href="#">Downloads</a></li>
Line 10: Line 11:
<li><a href="#">Job Opportunities</a></li>
<li><a href="#">Job Opportunities</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Contact Us</a></li>
 +
                                                <li><a href="#">MediaWiki</a><ul class='mediawiki-footer'><li>item1</li></ul></li>
</ul>
</ul>
 +
                  </div>
 +
        <div id="foot-icon2"></div>
</div>
</div>
<style type="text/css">
<style type="text/css">
 +
 +
        #foot-icon1 { float: left; }
 +
        #foot-icon2 { float: left; }
#footer-links * {  
#footer-links * {  
Line 21: Line 28:
list-style-type:none;
list-style-type:none;
     }
     }
 +
      
      
     #footer-links a {   
     #footer-links a {   
Line 67: Line 75:
//font: 10px;
//font: 10px;
bottom:100%;
bottom:100%;
-
}*/
 
-
 
-
#footer-links {
 
-
color: rgb(110, 110, 110);
 
-
 
-
/*
 
-
border-top-color: rgb(229, 229, 229);
 
-
border-top-style: solid;
 
-
border-top-width: 1px;
 
-
border-bottom-color: rgb(229, 229, 229);
 
-
border-bottom-style: solid;
 
-
border-bottom-width: 1px;
 
-
*/
 
-
 
-
margin:auto;
 
-
width:70%;
 
-
 
-
margin-bottom: 20px;
 
-
padding-bottom: 5px;
 
-
padding-left: 0px;
 
-
padding-right: 0px;
 
-
padding-top: 5px;
 
-
position: static;
 
-
text-align: center
 
-
 
-
 
-
 
-
z-index: 1;
 
}
}
 +
#footer-links .left-footer {
#footer-links .left-footer {
float:left;
float:left;
 +
                margin-left:10px;
}
}
Line 121: Line 103:
#footer-links ul li ul li { border: none;  }
#footer-links ul li ul li { border: none;  }
 +
 +
      #footer-links { width:90%; margin-left:auto; margin-right:auto;  bottom:5px;}
 +
      // .vertical { display:table-cell; vertical-align:centre; }
</style>
</style>
<script>
<script>
-
alert('hello');
+
$(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 136: Line 123:
$('.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()  );
 +
 +
$('#footer-box').css('display', 'none');
 +
 +
});
</script>
</script>
</html>
</html>

Latest revision as of 04:04, 15 September 2012