![]() |
How would you code this? (meta redirect)
I know you can do an autoredirect this way:
<META http-equiv="refresh" content="10;URL=http://www.******.com/forum/quiz_comics_v1"> but instead of just directing to 1 url, is there a way to have it auto-redirect to a random url out of a list of 10 url's? Like the person clicks the quiz page and it randomly picks a url from: http://www.******.com/forum/quiz_comics_v1 http://www.******.com/forum/quiz_comics_v2 http://www.******.com/forum/quiz_comics_v3 http://www.******.com/forum/quiz_comics_v4 http://www.******.com/forum/quiz_comics_v5 http://www.******.com/forum/quiz_comics_v6 http://www.******.com/forum/quiz_comics_v7 http://www.******.com/forum/quiz_comics_v8 http://www.******.com/forum/quiz_comics_v9 http://www.******.com/forum/quiz_comics_v10 |
Quote:
Not sure how to do it with the meta refresh, but with javascript its pretty easy Code:
<script type="text/javascript"> Code:
var urls = new Array Go to here Code:
var temp = setInterval("redirect()", 3000); ;) |
thanks!! So I put this in the header area?
|
Quote:
let us know if it worked ;) |
Quote:
|
Quote:
|
All times are GMT. The time now is 12:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|