Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pulsewidth947

macrumors 65816
Original poster
Jan 25, 2005
1,106
2
Is there any way I can get a script to detect someone using Safari 1.0.3? The reason I ask is I've created a site which works well on all browsers, but due to the fact I am using LightBox 2, there are problems with Safari 1.0.3. A user will click on a picture which starts the Lightbox effect, but then doesn't complete.

I'd like a way of making picture links open in the same window for Safari users when they are using a version lower than 1.2. Mac compatibility is quite important to me, as a Mac user.

I've never used JS before, but I'm used to XHTML, PHP and CSS, although I can't find a way of doing what I'd like with those languages. Any help would be greatly appreciated.
 
I know the browser's id transmitted to your site does contain the Safari version number (I'm totally blanking on what these are called or exactly how it writes it), so I would assume you could use the same methods that allow you to redirect Netscape users or IE users or whoever is not compatible would work for versioning as well, because it's also transmitted.

jW
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.