Matt Brown's Radio Weblog

Welcome to the Dreamweaver MX Blog. I am the Community Manager for Macromedia Dreamweaver and I work for Macromedia. Come to see what is happening in the community, on the Dreamweaver Team and around the web... Most of all, you get to hear my opinion.
   



Buy Macromedia products from the blog and get 10% off!

If you are thinking of buying Macromedia software, then this is the place to do it.

The first 100 people that respond off of our blogs, you can get 10% off one tool package by using the following promotional code when you check out.

SP23CMMRTL

Macromedia Store

  Wednesday, November 27, 2002


Redirect based on screen resolution - I knew that this was possible, but never had to find out how to do this till this week. It is so easy. I was amazed. There is a nice little extension from Massimo Foti on the Exchange to do this, but I wanted to dig in a little. One quick search on Google resulted in a link to PageResource which is a nice little site. I would very much recommend that this become something that you add to your normal resource sites.

Anyway the redirect... Browsers since the v4 browsers can determine the screen resolution by using the screen.width and screen.height properties. If you set a script in your head that looks for a screen resolution in an if statement, you can redirect to various pages that work for that size.

There is a nice example right there at the article.

Why not just design for the lowest common denominator? Because 800x600 is getting rare in the same way that NS4 is getting rare. I don't think that it can be ignored, but neither should it drive your development.


10:31:08 AM      comment []


  © Copyright 2002 Matt Brown.
Last update: 12/2/2002; 5:21:35 PM.

November 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Oct   Dec

Matt Brown's Blog
Mike Chambers' Blog
John Dowdell's Blog
Bob Tartar's Blog





Search the Blog


Any word All words Exact phrase



















Site Meter