Hi, I decided to ask a question which I've wondered about for a while: is it possible to display a different website according to the browser's screen resolution? For example, is it possible that in the body onload you put a code, and then you have all three different websites listed in the file, and the code analyzes the screen resolution, then chooses the appropriate website?
In my situation, I can't have a screen which pops up and asks for the resolution - it just wouldn't work. So, is it possible?
Okay, so where would that go in the original file? I have to have the coding in the first .html file, so that it will open a second, alternate page if necessary. Would that code go in the head or the body of the page?
In this day-and-age, when we have things like CSS at our disposal, there really isn't a need to design resolution-specific layouts. In fact, it is frowned upon. You are only dancing around the problem. If you actually want to solve the problem, learn how to create a fluid layout using CSS and semantic (read: meaningful) markup. An accessible site is typically not only easier to design, but easier to maintain. Please look into the following sites: