[Seaside] Generating html hacks for IE

Squeaker squeakman at gmail.com
Wed May 14 19:28:16 UTC 2008


I have to include a hack for using IE7.  I need to produce html that 
looks like this:

<a href="javascript:void(0)">item1<!--[if IE7]><!--></a><!--<![endif]-->

The Smalltalk code that I have looks like this:

html anchor with: 'item1'.

Of course this does not generate the required hack i.e.,
<!--[if IE7]><!--></a><!--<![endif]-->

Is the "right" way to produce the hack
to subclass WAAnchorTag?

How in general do people deal with having to produce specialized code 
(hacks) like this for IE?


More information about the seaside mailing list