Header
From Wikivida
(Difference between revisions)
(16 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | < | + | <link rel="shortcut icon" href="/images/wikivida/2/26/Favicon.png" /> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<style type="text/css"> | <style type="text/css"> | ||
- | /* This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css | + | /* |
+ | Notes: | ||
+ | -You must log as admin to edit this page | ||
+ | -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. | ||
+ | -if you want your code to look nice on this page, put a space at the beginning of each line | ||
+ | -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css | ||
+ | |||
For example uncomment this next section to turn all the text green: | For example uncomment this next section to turn all the text green: | ||
*/ | */ | ||
- | |||
/* | /* | ||
body { | body { | ||
color: green; | color: green; | ||
} | } | ||
- | */ | + | */ |
- | </style> | + | aus { |
+ | display: none | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | window.onload=function(){ | ||
+ | (function() { | ||
+ | |||
+ | var RemoveGoogleAds = | ||
+ | { | ||
+ | checkPage: function() | ||
+ | { | ||
+ | currentDoc = document; | ||
+ | |||
+ | try { | ||
+ | if (currentDoc.getElementsByTagName("body")[0].innerHTML.match(/google_ads_frame/i)) | ||
+ | { | ||
+ | this.injectCSS("iframe[name='google_ads_frame'] { display: none; }"); | ||
+ | } | ||
+ | } | ||
+ | catch(e) {} | ||
+ | }, | ||
+ | |||
+ | |||
+ | injectCSS: function(css) | ||
+ | { | ||
+ | head = document.getElementsByTagName("head")[0]; | ||
+ | style = document.createElement("style"); | ||
+ | style.setAttribute("type", 'text/css'); | ||
+ | style.innerHTML = css; | ||
+ | head.appendChild(style); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | RemoveGoogleAds.checkPage(); | ||
+ | |||
+ | })(); | ||
+ | } | ||
+ | </script> |
Current revision as of 23:44, 27 October 2007
<link rel="shortcut icon" href="/images/wikivida/2/26/Favicon.png" /> <style type="text/css"> /* Notes: -You must log as admin to edit this page -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. -if you want your code to look nice on this page, put a space at the beginning of each line -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css For example uncomment this next section to turn all the text green: */ /* body { color: green; } */ aus { display: none } </style>
<script type="text/javascript"> window.onload=function(){ (function() {
var RemoveGoogleAds = { checkPage: function() { currentDoc = document;
try { if (currentDoc.getElementsByTagName("body")[0].innerHTML.match(/google_ads_frame/i)) { this.injectCSS("iframe[name='google_ads_frame'] { display: none; }"); } } catch(e) {} },
injectCSS: function(css) { head = document.getElementsByTagName("head")[0]; style = document.createElement("style"); style.setAttribute("type", 'text/css'); style.innerHTML = css; head.appendChild(style); } }
RemoveGoogleAds.checkPage();
})(); } </script>