Header
From Uktvschedules
(Difference between revisions)
Line 19: | Line 19: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
//Feel free to add your javascript code here. | //Feel free to add your javascript code here. | ||
- | /* | + | /* Do some things when the page loads */ |
- | + | ||
addOnloadHook(function () { | addOnloadHook(function () { | ||
- | |||
- | + | /* Adds some links to my ''personal tools'' section ("My monobook.js", "My monobook.css", "My sandbox") */ | |
- | + | ||
- | + | /* Shorten "edit this page" to just "edit" */ | |
+ | if(document.getElementById('ca-edit')) { | ||
+ | document.getElementById('ca-edit').firstChild.innerHTML = 'Edit'; | ||
+ | } | ||
- | |||
- | |||
- | |||
}); | }); | ||
</script> | </script> |
Revision as of 17:07, 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 () { /* Adds some links to my personal tools section ("My monobook.js", "My monobook.css", "My sandbox") */ /* Shorten "edit this page" to just "edit" */ if(document.getElementById('ca-edit')) { document.getElementById('ca-edit').firstChild.innerHTML = 'Edit'; } });
</script>