The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Alternating homepage?

4 posters

Go down

Solved Alternating homepage?

Post by ChadmStraight November 5th 2009, 12:07 am

would that be possible? the home page loops every time someone refreshes. I understand forumotion doesn't give this option, but is there a script or something I could use, or possibly make?
ChadmStraight
ChadmStraight
Forumember

Posts : 91
Reputation : 1
Language : english

Back to top Go down

Solved Re: Alternating homepage?

Post by kirk November 5th 2009, 12:12 am

i do not know of any script to do this. the homepage will go to what ever you have it set at every time.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Alternating homepage?

Post by ChadmStraight November 5th 2009, 12:15 am

Yeah. I was thinking that maybe when a user visits that home page, the script redirects them to another page that I have listed in the script. So basically I just need something that will auto-redirect.
ChadmStraight
ChadmStraight
Forumember

Posts : 91
Reputation : 1
Language : english

Back to top Go down

Solved Re: Alternating homepage?

Post by ankillien November 5th 2009, 9:47 am

Hello!

You can use this script for that.
Just change the redirection address.

Code:
<script type="text/javascript">
<!--
window.location = "http://www.google.com/"
//-->
</script>
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Alternating homepage?

Post by ChadmStraight November 5th 2009, 11:28 pm

ok, ive been trying to use it in a widget in the portal. that doesnt work, it must be in a html page. that script does work for the one redirect, thank you. how can I add other urls to it and make it redirect to a random selection with each refresh?
ChadmStraight
ChadmStraight
Forumember

Posts : 91
Reputation : 1
Language : english

Back to top Go down

Solved Re: Alternating homepage?

Post by ankillien November 6th 2009, 3:01 pm

You can do it but you need to find such script on some website.
I can't write such script.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Alternating homepage?

Post by ChadmStraight November 6th 2009, 11:04 pm

ok, good enough
ChadmStraight
ChadmStraight
Forumember

Posts : 91
Reputation : 1
Language : english

Back to top Go down

Solved Re: Alternating homepage?

Post by Sanket November 7th 2009, 11:32 am

Since this thread appears to be solved, I will lock this thread and mark it as solved.
Alternating homepage? 2j4t5a8

Sanket Smile
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum