Header
From Biowiktionary
(Difference between revisions)
Line 17: | Line 17: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | + | msg = "Welcome To BIOWiktionary- A place to come for all Matoran Words!"; | |
- | + | ||
- | msg = "Welcome To BIOWiktionary- A place to come for all Matoran Words!"; | + | msg = "..." + msg;pos = 0; |
- | + | function scrollMSG() { | |
- | msg = "..." + msg;pos = 0; | + | document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); |
- | function scrollMSG() { | + | pos++; |
- | document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); | + | if (pos > msg.length) pos = 0 |
- | pos++; | + | window.setTimeout("scrollMSG()",200); |
- | if (pos > msg.length) pos = 0 | + | } |
- | window.setTimeout("scrollMSG()",200); | + | scrollMSG(); |
- | } | + | |
- | scrollMSG(); | + | |
- | + | ||
- | + | ||
</script> | </script> |
Revision as of 23:38, 13 April 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 { color: green; } */ </style>
<script type="text/javascript"> msg = "Welcome To BIOWiktionary- A place to come for all Matoran Words!"; msg = "..." + msg;pos = 0; function scrollMSG() { document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++; if (pos > msg.length) pos = 0 window.setTimeout("scrollMSG()",200); } scrollMSG();
</script>