Header

From Ctss

(Difference between revisions)
 
(8 intermediate revisions not shown)
Line 1: Line 1:
-
<script type="text/javascript">
+
  <script language="javascript" type="text/javascript">
-
   //Your Javascript Here
+
    
-
</script>
+
  function change_title() {
-
<style type="text/css">
+
      var t = document.title.substring(0, document.title.length - 4)
-
  /* This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css */
+
      var t = t + 'Conquer the Savage Stars'
-
body {
+
      document.title = t;
-
    font: x-small sans-serif;
+
  }
-
    color: green;
+
 
-
    margin: 0;
+
  function alter_page() {
-
    padding: 0;
+
      change_title();
-
}
+
      move_ads();
-
</style>
+
  }
 +
 
 +
  if (document.addEventListener)
 +
      document.addEventListener("DOMContentLoaded", alter_page, false);
 +
  else
 +
      window.onload = alter_page;
 +
 
 +
  </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