I like the idea for the OS and Browser check. However I would suggest that the checks be made separately and not within one tag. How about if we can modify the logic:present to have two more parameters? ( that can also go for notPresent ).
E.g. <logic:present os="unix"> <!-- the code --> </logic:present> <logic:present browser="Netscape" version="4.0"> <!-- the code --> </logic:present> Above approach will result in less of a learning curve and fewer tags. My $0.02 Jay Patel [EMAIL PROTECTED] -----Original Message----- From: Assenza, Chris [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 8:13 AM To: '[EMAIL PROTECTED]' Subject: RE: OS / Browser tag? I have something written that will do the server-side browser detection, etc. but not a tag for it. It's actually an adaptation of a nice PHP-based script that I stumbled on a while back. :) It'd be a great idea for a tag though - go for it! :) Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL PROTECTED] ACCESSDATA Moving Your Business from Point A to Point e.SM http://www.accessdc.com/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 4:59 PM To: [EMAIL PROTECTED] Subject: Re: OS / Browser tag? Sorry, maybe that wasn't clear! I am basically looking for an IF tag which utilises the OS and/or the browser that the client is running on. eg IF Unix and Netscape THEN.... would be <logic:IF_os_browser os="unix" browser="Netscape"> //do something </logic:IF_os_browser> and the tag would automatically check for current client os and browser. Hope that's clearer! Cheers, Dave "David_Hay/Lex/Lexmark.LEXMARK"@sweeper.lex.lexmark.com on 10/03/2001 04:17:59 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: (bcc: David Hay/Lex/Lexmark) Subject: OS / Browser tag? Hi everyone. Just wondering if anyone has written a tag to do something specific to OS or Browser? I'm probably going to write my own if no-one else has already done it! Cheers, Dave