26. februar 2000 - 21:49Der er
2 kommentarer og 1 løsning
Browser and resolution check
Can anyone create a Script who filters the following users to the page that is best for them? I want it to be based on screen resolution and browser! Here are the pages:
IE 640x480 = ie/640x480/index.html IE 800x600 = ie/800x600/index.html IE 1024x768 or more = ie/1024x768/index.html
Netscape 640x480 = Netscape/640x480/index.html Netscape 800x600 = Netscape/800x600/index.html Netscape 1024x768 or more = Netscape/1024x768/index.html
Ups...DON'T use slashes - unless you have an 'ie'-folder with a '1024x768'-folder within, containing an 'index.html' - and so forth. If 'ie/1024x768/index.html' is a document, write: 'ie_1024x768_index.html' instead. I just want to make sure ;-)
PS: You might want to withdraw some height for the processbar in Windows: if (screen.height <= 440) for instance. I'm not quite sure about the default height. I'm not on PC...I'm trying to quit...Hehe
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.