Header

From Ctss

(Difference between revisions)
 
(13 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)
-
  body {
+
      var t = t + 'Conquer the Savage Stars'
-
    color: purple;
+
      document.title = t;
-
    background-color: #d8da3d }
+
  }
-
</style>
+
 
 +
  function alter_page() {
 +
      change_title();
 +
      move_ads();
 +
  }
 +
 
 +
  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