0
![Not allowed!](https://a2s.in/images/buttons/down_dis.png)
![Not allowed!](https://a2s.in/images/buttons/up_dis.png)
Thumbs Up |
Received: 10 Given: 0 |
Hi ,
sorry for the short post , but I need help ASAP , I want to make multiple redirects (like auto surf) , for example when you click my link you will watch google.com then after 5 sec you will watch youtube.com etc , any one have a script or a javascript or html or anything that could help me
@ace130 you can try this
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Changing Pages... Please Wait</title>
<script type="text/javascript">
var frames = Array('http://www.google.com/', 15,
'http://www.yahoo.com/', 37,
'http://www.ask.com/', 12,
'http://www.dogpile.com/');
var i = 0, len = frames.length;
function ChangeSrc()
{
document.getElementById('frame').src = frames[i++];
if (i >= len) return; // no more changing
setTimeout('ChangeSrc()', (frames[i++]*1000));
}
window.onload = ChangeSrc;
</script>
</head>
<body>
<iframe src="" name="frame" id="frame" width="100%" height="100%"></iframe>
</body>
</html>
Thumbs Up |
Received: 6 Given: 0 |
Add to tag <Head> this meta tag
<meta http-equiv="refresh" content="0 ; url=your_website" />
0 mean : 0 second
Thumbs Up |
Received: 10 Given: 0 |
Thanks I think this should work , but I don't think Google alows iFraming so it can't be done. Anyway thank for help.
Bookmarks