Header
From Uktvschedules
(Difference between revisions)
Line 22: | Line 22: | ||
addOnloadHook(function () { | addOnloadHook(function () { | ||
- | |||
- | |||
/* Shorten "edit this page" to just "edit" */ | /* Shorten "edit this page" to just "edit" */ | ||
if(document.getElementById('ca-edit')) { | if(document.getElementById('ca-edit')) { | ||
- | document.getElementById('ca-edit').firstChild.innerHTML = ' | + | document.getElementById('ca-edit').firstChild.innerHTML = 'xyz'; |
} | } | ||
Current revision as of 17:08, 7 August 2007
<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 { background: #e1e1e1 url("/images/uktvschedules/e/ea/Logo.gif") 0px 0px no-repeat; } */
</style>
<script type="text/javascript"> //Feel free to add your javascript code here. /* Do some things when the page loads */ addOnloadHook(function () { /* Shorten "edit this page" to just "edit" */ if(document.getElementById('ca-edit')) { document.getElementById('ca-edit').firstChild.innerHTML = 'xyz'; } });
</script>