I am making a web site and I was wondering how I would redirect the user to a different website if Javascript is not enabled. I can't use <noscript> because It needs to redirect. Could I put a meta tag inside a noscript tag? Thx.
Romil797 0 Light Poster
Recommended Answers
Jump to PostThe only way I can think to do it would be to have it redirect if they DO have javascript, else they see the regular noscript page. Like so...
<script type="text/javascript"> window.onload = function { location.href='http://thejavascriptversion.com/page'; return true; } </script>
That way if they …
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.