[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Force page using JavaScript
Hey Grady--
The easist way I can think of is as follows:
<head>
<script language="javascript">
document.write('<META HTTP-EQUIV="Refresh" CONTENT="0;
URL=http://www.some.url.com/my_javascript_document.html">');
</script>
</head>
<body>
Non-javascriptees stuff
</body>
If the browser can read javascript it will immediately load the new
page, if not it will ignore the stuff between the script tags and present the
stuff between the body tags.
-- Athomas
-- Athomas
--
==========================================================
Athomas Goldberg
Associate Research Scientist
New York Univerity
Media Research Lab ph: (212) 998-3469
715-719 Broadway rm 1227 fx: (212) 995-4122
New York NY 10003
Email: athomas@mrl.nyu.edu
WWW: http://www.mrl.nyu.edu/athomas
==========================================================
--------------------------------------------------------------------
This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.