PDA

View Full Version : stopping a browser from refreshing through meta tags


Vermelh0
11-10-2002, 10:25 PM
I have this meta tag
<META HTTP-EQUIV="refresh" CONTENT="0; URL=nojavascript.html">, which I would like to active only if a user has disabled javascript on his browser. But for this to work, I have to create some sort of javascript function that will stop the regresh, which I have been trying to create for days without any luck.
Any ideas how I can accomplish this?
Thanks,
V

jkd
11-10-2002, 10:32 PM
<noscript>
<META HTTP-EQUIV="refresh" CONTENT="0; URL=nojavascript.html">
</noscript>

Vermelh0
11-10-2002, 10:37 PM
Wow, thanks!!!
That dit it.... :)
V