Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style type="text/css">
- html body{
- margin:0;
- padding:0;
- background-color:black;
- font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
- }
- </style>
- <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
- <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
- <script type="text/javascript">
- var sites = ["http://machinemachine.net/gifbites/bitrates/friend.html", "http://machinemachine.net/gifbites/bitrates/vortex.html", "http://machinemachine.net/gifbites/bitrates/turntable.html"]
- $(document).ready(function() {
- newPage();
- });
- function newPage(min, max)
- {
- setTimeout(newPage, 20000);
- var num = Math.floor(Math.random() * (max - min + 1)) + min;
- if (num < 0.5)
- {
- $('#target').attr('src',sites[0]);
- }
- else
- {
- $('#target').attr('src',sites[1]);
- }
- }
- </script>
- </head>
- <body>
- <iframe id="target" width="100%" height="100%" frameBorder="0" seamless="seamless" marginwidth="0" marginheight="0" align="top" scrolling="No" frameBorder="0" hspace="0" vspace="0"/>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement