Alternating homepage?

Post new topic   This topic is locked: you cannot edit posts or make replies.

View previous topic View next topic Go down

Solved Alternating homepage?

Post by ChadmStraight on November 4th 2009, 6:07 pm

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
Forumotion Member

Posts: 91
Language: english
Country:
Join date: 2008-09-26

Back to top Go down

Solved Re: Alternating homepage?

Post by kirk on November 4th 2009, 6:12 pm

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
Support Moderator
Support Moderator

Male
Posts: 3492
Language: Ebonics
Country:
Join date: 2008-09-17

http://freeforummakers.forumotion.com/portal.htm

Back to top Go down

Solved Re: Alternating homepage?

Post by ChadmStraight on November 4th 2009, 6:15 pm

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
Forumotion Member

Posts: 91
Language: english
Country:
Join date: 2008-09-26

Back to top Go down

Solved Re: Alternating homepage?

Post by ankillien on November 5th 2009, 3: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
Support Moderator
Support Moderator

Posts: 2467
Language: English, HTML, CSS, JScript
Location: home.php?id=bedroom
Country:
Join date: 2008-07-13

Back to top Go down

Solved Re: Alternating homepage?

Post by ChadmStraight on November 5th 2009, 5: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
Forumotion Member

Posts: 91
Language: english
Country:
Join date: 2008-09-26

Back to top Go down

Solved Re: Alternating homepage?

Post by ankillien on November 6th 2009, 9:01 am

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

_________________

ankillien
Support Moderator
Support Moderator

Posts: 2467
Language: English, HTML, CSS, JScript
Location: home.php?id=bedroom
Country:
Join date: 2008-07-13

Back to top Go down

Solved Re: Alternating homepage?

Post by ChadmStraight on November 6th 2009, 5:04 pm

ok, good enough

ChadmStraight
Forumotion Member

Posts: 91
Language: english
Country:
Join date: 2008-09-26

Back to top Go down

Solved Re: Alternating homepage?

Post by Sanket on November 7th 2009, 5:32 am

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile

Sanket
Support Moderator
Support Moderator

Male
Posts: 13626
Age: 26
Language: English
Location: Mumbai
Country:
Join date: 2008-10-01

Back to top Go down

View previous topic View next topic Back to top


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