View Full Version : Can Java Script do this?

sir pannels
07-21-2002, 02:33 PM
hey there,
ok i redesigned one of my sites.. and i did it in a large screen res..and it looks odd in others.. im thinking instead of teakin to work in others which will not work im gona make two designs the same but size diferences 800X600 and above.. is there a java script out there on the net so that it detics if you are using either 800x600 and loads a certain page and if not it loads a diferent page.. is this possible? if theres not a script... argh any good tuts?
ok thanks for any feedback.
sir p

Graeme Hackston
07-21-2002, 02:42 PM

07-21-2002, 06:23 PM
this what your looking for? it will re-direct anyone using 800x600... you can add to it fo other resolutions.

var screenres=screen.width+"x"+screen.height;
if (screenres=="800x600") {

happy coding :thumbsup: