Forum Moderators: open
[advertising.msn.com...]
the message:
Please Upgrade Your Browser
You are using: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
To view this site you must use:
Microsoft® Internet Explorer or Netscape® Navigator 4.0 or higher
Click here to find the latest free browser from Microsoft
-----
heh. the 'click here' is a link with blue text, which you can't see.
i'm thinking this must be a browser sniffer gone wrong page?
;)
-kpaul
How, you might ask, when browsers all react differently? This is an idea I picked up from Devedge a long time ago - instead of a long convoluted script that is going to require updating ad infinitum with every browser release, base your task on the actual existence of the objects - for example, if you want to hide/show a layer, test for getElementByID, etc.
Almost anything you'd want to do you can test for the object rather than determining browser and version. Worked out so far, anyway. :-)