benreynolds4
New Member
4 iframes randomising content (URLs)
hi all. i would like these four iframes to randomise on refresh (or even by a button press) from a list of URLs I set.
It would be cool if it was a javascript.
here's the code
</html>
<head>
<title>Untitled Document</title>
</head>
<style type="text/css">
html, body, div, iframe { margin:0; padding:0; height:100%; }
iframe { display:block; width:50%; height:50%; border:0; }
</style>
<body marginheight="0" marginwidth="0">
<iframe src="http://www.yahoo.com/" width="50%" height="50%" frameborder="none" align="left">
</iframe>
<iframe src="http://www.nytimes.com/" width="50%" height="50%" frameborder="none" align="top" align="right">
</iframe>
<iframe src="http://www.youtube.com/" width="50%" height="50%" frameborder="none" align="right">
</iframe>
<iframe src="http://www.google.com/webhp?hl=en" width="50%" height="50%" frameborder="none" align="bottom">
</iframe>
</body>
</html>
any ideas....
thanks
ben
hi all. i would like these four iframes to randomise on refresh (or even by a button press) from a list of URLs I set.
It would be cool if it was a javascript.
here's the code
</html>
<head>
<title>Untitled Document</title>
</head>
<style type="text/css">
html, body, div, iframe { margin:0; padding:0; height:100%; }
iframe { display:block; width:50%; height:50%; border:0; }
</style>
<body marginheight="0" marginwidth="0">
<iframe src="http://www.yahoo.com/" width="50%" height="50%" frameborder="none" align="left">
</iframe>
<iframe src="http://www.nytimes.com/" width="50%" height="50%" frameborder="none" align="top" align="right">
</iframe>
<iframe src="http://www.youtube.com/" width="50%" height="50%" frameborder="none" align="right">
</iframe>
<iframe src="http://www.google.com/webhp?hl=en" width="50%" height="50%" frameborder="none" align="bottom">
</iframe>
</body>
</html>
any ideas....
thanks
ben