Page 1 of 1

Web Site Development

Posted: Tue Nov 22, 2011 2:23 pm
by artmart
Where can I look to get how to info on:
Setting a timer on a page such that it goes to another page when it expires?
Setting an alias on a directory such that both reference the same directory?
thxs

Re: Web Site Development

Posted: Wed Nov 23, 2011 6:19 am
by gp1628
Keywords would be HTML and refresh.
You want to put a refresh command in the webpage so that after the time you set it will "refresh" to a different page

And on the second thing I think keywords would be linux and link.
You seem to want to create a link on the server so that one directory is linked with another.

Gandalf Parker

Re: Web Site Development

Posted: Thu Dec 01, 2011 7:48 pm
by dja
In javascript there is a function called settimeout. Here's some good info for that;
http://www.w3schools.com/jsref/met_win_settimeout.asp, this function in conjunction with setting
window.location.href = to the url that you want to send people to should do the trick.

As for the directory alias... you're looking for ln -s, this will setup a symbolic link from one place to another. You can find out it's usage by running "man ln" when logged into the shell server. Hope this helps! Cheers!