View Single Post
Old 03-04-2012, 07:45 PM   PM User | #38
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,455
Thanks: 0
Thanked 498 Times in 490 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by MancunianMacca View Post
Well it works on y site take a look www.mancunianmacca.co.uk (disable javascript)
I didn't say that it doesn't work in some browsers - I said it is invalid HTML - which means that browsers don't have to ensure that it works.

Another thing you have overlooked is that modern browsers provide an option for whether or not to allow meta redirects and so many of those with JavaScript disabled will also have meta redirects disabled.

The safer way to do it is to reverse it and use JavaScript to redirect those who have JavaScript enabled to the page where the javaScript is required leaving those with JavaScript disabled on the original page.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote