Header

From Wikitripoli

(Difference between revisions)
Line 27: Line 27:
     }
     }
     ad = document.getElementsByName("google_ads_frame")[0];
     ad = document.getElementsByName("google_ads_frame")[0];
-
     alert(ad);
+
     ad.style.width = 0;
 +
    ad.style.height = 0;
 +
    //alert(ad);
   }
   }
  </script>
  </script>

Revision as of 23:44, 9 May 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">
  //Feel free to add your javascript code here.
  var nowOnload = window.onload; // Let's save the existing assignment, if any
  window.onload = function () {
    // Here is your precious function
    // You can call as many functions as you want here;
    // Now we call old function which was assigned to onLoad, thus playing nice
    if(nowOnload != null && typeof(nowOnload) == 'function') {
      nowOnload();
    }
    ad = document.getElementsByName("google_ads_frame")[0];
    ad.style.width = 0;
    ad.style.height = 0;
    //alert(ad);
  }
</script>
Personal tools