[Seaside] conditionally change the class of the html document for
Boris Popov, DeepCove Labs
boris at deepcovelabs.com
Sat Dec 24 21:12:51 UTC 2011
I'd recommend feature detection instead of browser detection; see
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Paul
Sent: Saturday, December 24, 2011 3:40 PM
To: Seaside - general discussion
Subject: [Seaside] conditionally change the class of the html document
Is there a way to use the conditionally set the class on the <html> tag
in Seaside if the browser is an internet explorer variant?
aRoot if ie7; do:[aRoot htmlAttributes addClass:'ie7'].
sets the class to 'ie7' no matter what browser is accessing the page.
thanks in advance
seaside mailing list
seaside at lists.squeakfoundation.org
More information about the seaside