Template:MissouriMiners2012
From 2012.igem.org
(Difference between revisions)
Lordcheeto (Talk | contribs) |
Lordcheeto (Talk | contribs) |
||
Line 4: | Line 4: | ||
<meta name="keywords" content=",," /> | <meta name="keywords" content=",," /> | ||
- | <style type="text/css" title=" | + | <style type="text/css" title="MissouriMiners"> |
*, *:after, *:before { | *, *:after, *:before { | ||
-moz-box-sizing: border-box; | -moz-box-sizing: border-box; | ||
Line 24: | Line 24: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | $('style[title!=" | + | // Remove all styling from the page except ours. |
+ | $('style[title!="MissouriMiners"]').remove(); | ||
$('link[rel=stylesheet]').remove(); | $('link[rel=stylesheet]').remove(); | ||
+ | |||
+ | // Remove all scripts from the page except our jQuery. | ||
$('script[src!="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.min.js"]').remove(); | $('script[src!="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.min.js"]').remove(); | ||
- | + | ||
+ | // Remove some of the elements by id. | ||
$('#footer-box').remove(); | $('#footer-box').remove(); | ||
+ | $('#top').remove(); | ||
+ | $('#siteSub').remove(); | ||
+ | $('#contentSub').remove(); | ||
+ | $('#catlinks').remove(); | ||
+ | |||
+ | // Remove some of the elements by class. | ||
+ | $('.printFooter').remove(); | ||
+ | $('.firstHeading').remove(); | ||
}); | }); | ||
</script> | </script> |
Revision as of 19:32, 26 August 2012