Random text link..
Hi there,
Is there a javascript code that can "rotate" between two urls in the body tag?
like this:
<body onUnload="NewWin=window.open('1st URL','NewWin');">
and when the page refreshes...
<body onUnload="NewWin=window.open('2nd URL','NewWin');">
Thanks
Eitan Finkel
------------------
Top 10 Sponsors for your web site
A list of the Best Affiliate programs focusing on:
Pay per-lead Programs
Tom Knight posted this at 19:57 — 14th January 2000.
They have: 48 posts
Joined: Dec 1999
I'm not sure if you can rotate between two different urls without using SSI or cookies, but I do have a code which will open a random url in a new window:
Do you want to have fun?
TomWorld
Vincent Puglia posted this at 01:07 — 15th January 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
Never thought about it, but...Why not set a timeout in both pages that redirect to each other? Or, have a "hidden" href that automatically does it if the mouse runs over it?
Why would you want to swap on a refresh? Maybe you're looking at it the wrong way.
Vinny GrassBlade: cut&paste javascript
[This message has been edited by Vincent Puglia (edited 14 January 2000).]
Where the world once stood
the blades of grass cut me still
ReVigo posted this at 02:48 — 15th January 2000.
They have: 117 posts
Joined: Jul 1999
Hey ..
Tom - This is exactly what i'm looking for
And vincent..
i can't decide which link will do better for me so i just wanted to randomize 'em.
Thank you!
Eitan
------------------
Top 10 Sponsors for your web site
A list of the Best Affiliate programs focusing on:
Pay per-lead Programs
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.