Redirection Based on Browser's Support of FramesThis is just a quick example of how you could redirect a visitor to either a frames or no-frames version of your site based on what their browser can handle. The link below has an HREF that points to the no-frames version of the site. It also has an onClick event handler that checks whether or not the window.frames array is defined. If it is, it redirects the visitor to the frames version of the site and returns false so the HREF is not called. Test my browser. |