How can I use scalable HTML-files on non-MicroBrowser browsers?
While it is well known how to generate scalable HTML-files with the S-Web Editor and how to use them with the different MicroBrowser resolutions. But it is not well known that it is also possible to use different HTML start-files for different "non MicroBrowsers".
Replace your per default generated start HTML-file by a HTML-file containing this small java-script code in the body-part.
if (screen.width==640||screen.height==480) //if 640x480 VGA
else if (screen.width==1024||screen.height==768) //if 1024x768 XVGA
else //if all else
This code is browsing to the respective HTML-file corresponding to the resolution of your Web-Browser.
Last update: 27.05.2015 22:45
First release: 07.10.2009 09:17