English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have 2 qusetion about some html script. I've changed my host and now i have a different web-site, but my friends know the old addres. what is the html for redirecting from a page to another?(like when they are clicking on oldsitecom they will be automaticly be taken to newsite.com.
The second question is: what is the java script trough people can bookmark my page or make my page their home page?

2006-08-01 01:11:52 · 6 answers · asked by Alex B. 2 in Computers & Internet Internet

6 answers

To redirect the old page to the new one in five seconds, put this in the 'head' section'...
< meta http- equiv="refresh" content="5;url= http ://www.newpage.com/" >
As far as bookmarking goes...any user that can't bookmark a page is pretty bad. Don't mess up your site with Javascript just for them...!!

2006-08-01 01:26:52 · answer #1 · answered by FreddyBoy1 6 · 0 1

For your first question, if you only have HTML, you may do the following. At your old address, you need to put a HTML page up that says: 'You should be redirected in 2 seconds. If not, click here' where the 'click here' is a link to your new address (just in case).

Then, you should have this tag in the section:



where the number controls how many seconds between redirect and the url can be both absolute and relative.

Now, as for your Javascript question, see the following demo page:



Testing Favorites



Bookmark!

2006-08-01 08:23:29 · answer #2 · answered by tedjn 3 · 0 0

well i have the answer for your second question :

Place the following code inside your tags

Set as Homepage

2006-08-01 08:25:40 · answer #3 · answered by Anonymous · 0 0

i can't recall the code off the top of my head. both are frequent questions on www.irt.org. and, both are javascript solutions.

2006-08-01 08:17:24 · answer #4 · answered by Anonymous · 0 0

You can find many of your answer on dynamicdrive.com website or javascript.com
Good luck

2006-08-01 08:16:50 · answer #5 · answered by phyxius 1 · 0 0

sorry i dont know ...

2006-08-01 08:20:50 · answer #6 · answered by Manis 4 · 0 0

fedest.com, questions and answers