Conditional HTML and preview pane

Robin Elfrink elfrink at introweb.nl
Tue Nov 21 16:52:46 CET 2006


Hi,


Another go at a preview pane.

I implemented conditional HTML which works like this:


<roundcube:if condition="config:preview==true" />
 html bla bla
<roundcube:else />
 other html bla bla
<roundcube:endif />


The preview code was mostly Thomas', plus a bit of myself to let the
user decide for herself.

Code is not yet optimized, so it looks like poo, and I suspect IE6 will
have problems, because I delete some CSS which made it look strange in IE7.


Robin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: conditional-preview.patch
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20061121/e92d5bf0/attachment.ksh>


More information about the Dev mailing list