Re: Xaraya_Classic theme menu blocks logic
Chris Dudley <[email protected]> Mon, 03 May 2004 12:43:25 +0100
| Newsgroups | gmane.comp.cms.xaraya.ui |
|---|---|
| Organization | Xaraya News Server |
| Message-ID | <[email protected]> |
Fournier Daniel wrote:
> I'm experimenting with theme design, taking Xaraya_Classic theme as a
> starting point.
> Regarding left and right menu blocks logic, wouldn't it be simpler to
> write it this way:
>
> --------------------------------------------
> <xar:if condition="empty($leftblocksgroup)">
> <style>td#leftmenus { display:none; }</style>
> </xar:if>
> <xar:if condition="empty($rightblocksgroup)">
> <style>td#rightmenus { display:none; }</style>
> </xar:if>
>
> <table id="classiccontentarea">
> <tr>
> <td id="leftmenus">
> <div id="leftmenuswrapper">
> <div class="iewintablefixer">
> <xar:var name="leftblocksgroup"/>
> </div>
> </div>
> </td>
> <td id="maincontent">
> <div class="iewintablefixer">
> <xar:var name="centerblocksgroup"/>
> <xar:module class="modulespace" main="true" />
> </div>
> </td>
> <td id="rightmenus">
> <div id="rightmenuswrapper">
> <div class="iewintablefixer">
> <xar:var name="rightblocksgroup"/>
> </div>
> </div>
> </td>
> </tr>
> </table>
> --------------------------------------------
>
> Daniel
urghh tables
/me wishes the world would wake up and stop using IE so CSS could be
more widespread.
miko