Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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

You are here: irt.org | FAQ | JavaScript | Source | Q812 [ previous next ]

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.

©2018 Martin Webb