Thursday, October 30, 2008

Making Auto Surf Page

<html>


<head>

<title>Hello World! Here we Go!</title>


<script language="JavaScript">

<!--

var time = null

function move()
{
window.location = 'URL' //the page url to be loaded

}

//-->

</script>


<script type="text/javascript">

var q=Math.random()

var qq=20000*q

</script>


</head>

<body onload="timer=setTimeout('move()',qq)">


<div id="Div1">


<script type="text/javascript">


var r=Math.floor(Math.random()*300+1)

var rr=30000*r

</script>

<div id="daidai"><iframe src="http://www.url" frameborder="no" height="100%" scrolling="no" width="100%"></iframe></div>


</div>

    </body>
</html>

Post me some comments how it could be used? Because iframe src needs a lot of sites to be listed and is huge pain if you want to create a list of sites. Morever, it needs a lot of pages to be loaded.
This is not a good code anyway!

1 comment:

Thanks for the comment.
Please stay on topics; off-topic/advertisement comments will be removed.

You may also like to visit : My Frame of Reference
(Press shift while clicking: Opens in New window.)