Internet & Networking > Web design

random page and forward

(1/2) > >>

hilikus:
i would like to add a splash page to my site

i need it to have a frame (or anything like that) at the top that will go to a random html page i have made that has a picture and text.

it then needs to redirect to my main part of my site (another html file.)

if anyone have time to spare, i need some help on making this work.

Joleen:
I usually do my own homework but..

Make your splash page the index.htm.

Look at some of the other threads in Web Design for help on the frame.  It's been discussed.

Redirect from the index to your main or whatever.

You're done.

hilikus:
i know how to do all that. i need to know how to make a random page load in the frame.

Joleen:
I'm going to assume that when you say random you mean from a predefined number of available websites and not truly random like www.xBi3!.html (characters chosen randomly by my fingers).

If that's the case then I'd stard with a javascript array containing your chosen sites then on the onclick= event of your link point to the script and randomly pick one of the array elements.

hilikus:
yes, by random i mean pages i have all ready made and are on my server.

can anyone help me on forwarding to another page, all i have found will open it in a new window. i need one of those things that says you will be redirected in *blank* secs.

Navigation

[0] Message Index

[#] Next page

Go to full version