[Seaside] Generating html hacks for IE
philippe.marschall at gmail.com
Thu May 15 04:43:20 UTC 2008
#revealedIf and #if work only in the <head>. Not in the <body>. Doing
IE hacks in the body (especially for closing anchors) seems very
You could do something like
html text: 'item1'.
html html: '<!--[if IE7]><!-->' ].
html html: '<!--<![endif]-->'
2008/5/14, Boris Popov <boris at deepcovelabs.com>:
> html revealedIf ie7; do: [html anchor with: 'item1']
> See #testRevealedConditionalComment for more details,
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> boris at deepcovelabs.com
> CONFIDENTIALITY NOTICE
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> Thank you.
> > -----Original Message-----
> > From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> > bounces at lists.squeakfoundation.org] On Behalf Of Squeaker
> > Sent: Wednesday, May 14, 2008 12:28 PM
> > To: seaside at lists.squeakfoundation.org
> > Subject: [Seaside] Generating html hacks for IE
> > Greetings,
> > I have to include a hack for using IE7. I need to produce html that
> > looks like this:
> > 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?
> > Thanks,
> > Frank
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside