[Seaside] conditionally change the class of the html document for IE

Paul DeBruicker pdebruic at gmail.com
Sat Dec 24 20:40:19 UTC 2011


Hi -

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

Paul


More information about the seaside mailing list