Header

From Ctss

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
<style type="text/css">
+
  <script language="javascript" type="text/javascript">
-
 
+
 
-
   /*
+
   function change_title() {
-
      Notes:
+
       var t = document.title.substring(0, document.title.length - 4)
-
       -You must log as admin to edith this page
+
       var t = t + 'Conquer the Savage Stars'
-
      -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.  
+
       document.title = t;
-
       -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
+
 
-
     
+
   function alter_page() {
-
      For example uncomment this next section to turn all the text green:
+
      change_title();
-
   */
+
      move_ads();
-
  /*
+
  }
-
body {
+
 
-
    color: green;
+
  if (document.addEventListener)
-
}
+
      document.addEventListener("DOMContentLoaded", alter_page, false);
-
  */
+
   else
-
</style>
+
      window.onload = alter_page;
-
 
+
 
-
<script type="text/javascript">
+
  </script>
-
   //Feel free to add your javascript code here.
+
-
</script>
+

Current revision as of 19:21, 18 January 2009

  <script language="javascript" type="text/javascript">
  
  function change_title() {
      var t = document.title.substring(0, document.title.length - 4)
      var t = t + 'Conquer the Savage Stars'
      document.title = t;
  }
  
  function alter_page() {
      change_title();
      move_ads();
  }
  
  if (document.addEventListener)
      document.addEventListener("DOMContentLoaded", alter_page, false);
  else
      window.onload = alter_page;
  
  </script>
Personal tools