Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q812 How do I redirect a page to another site, where the site is referred to in another document?

irt.org | Knowledge Base | JavaScript | Source | Q812 [ previous next ]

Q812 How do I redirect a page to another site, where the site is referred to in another document?

Using JavaScript source files is one possible way - although they are not supported in all browsers, people disable JavaScript, and JavaScript itself is not supported by all browsers.

<SCRIPT SRC="address.src"></SCRIPT>

and then in the address.src file:

location.href = 'http://www.irt.org';

Note that the SCRIPT tags are not required in the *.src file.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.