![]() |
|
#1
|
||||
|
||||
JavaScript Resolution Redirection TutorialThis script will redirect a user based on his screen resolution.
This isn't the way it's normally done but I like it, so I thought I would post it to help others. What this script does is it takes the screen width and height and adds then together. Then adds them to the variable resolution. 1024+768=1792 is if the variable resolution is grater than or equal to 1792 it goes to the first page if not it goes to the second one. Here the code I hope you all enjoy this script. Code:
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
||||
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| We're looking for JavaScript codes / mini tutorials. | JdS | Web Design Forum | 8 | 23-Nov-2008 04:27 |
| How do you detect resolution & launch an app with Javascript? | rhino1616 | Web Design Forum | 16 | 01-Dec-2003 12:00 |
| JavaScript Tutorial Part 1 | pcxgamer | Web Design Forum | 2 | 01-Dec-2003 10:16 |
| Javascript: Pop Up Tutorial | BobbyDouglas | Web Design Forum | 0 | 20-Nov-2003 23:19 |
| screen resolution | zuzupus | Web Design Forum | 0 | 29-Jul-2003 03:50 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The