Advertisement
muymusicacom

rotal la publicida

Feb 11th, 2014
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. <meta name="robots" content="noindex,nofollow" />
  2. <style type="text/css">body {margin:0; padding:0;}</style>
  3. </head>
  4. <body>
  5. <script language="JavaScript1.2">
  6. var ie=document.all
  7. var dom=document.getElementById
  8. //aqui el tamano del iframe
  9. var iframeprops='width=728 height=90 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"'
  10. //y aqui pones las urls de los que saldran en el iframe
  11. var randomcontent=new Array()
  12. //InviteAds
  13. randomcontent[0]="http://banicrazy.net/invite.html"
  14. //No need to edit after here
  15. if (ie||dom)
  16. document.write('<iframe id="dynstuff" src="" '+iframeprops+'></iframe>')
  17.  
  18. function random_iframe(){
  19. if (ie||dom){
  20. var iframeobj=document.getElementById? document.getElementById("dynstuff") : document.all.dynstuff
  21. iframeobj.src=randomcontent[Math.floor(Math.random()*randomcontent.length)]
  22. }
  23. }
  24. window.onload=random_iframe
  25.  
  26. </script>
  27.  
  28.  
  29. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement