1
JBzh
Display all the center content inside an Iframe - Smarty code not executed
  • 2007/3/15 14:11

  • JBzh

  • Just popping in

  • Posts: 18

  • Since: 2004/4/26


Hello,
I'd like to include everything in the centercolumn inside an Iframe.
Something like : (theme.html)
le="color: #000000"><?php <td id="centercolumn"> <IFRAME SRC="themes/default/theme_center.html" WIDTH=450 HEIGHT=100> Si vous pouvez lire ceci alors votre navigateur ne permet pas d'acceder à la base de connaissances.<br /> Vous pouvez contacter l'administrateur : jcoiron@brest.symag.com </IFRAME> </td>

But if I do so, it doesn't execute the smarty code.
I search the forum and can't find a way to fix this.

Can anyone give me a hint ?

Regards,
Jean

[Edit]
I only need to keep the main menu always in the top left corner when scrolling the page down. I'm curently looking for a javascript that I could use.
[/Edit]

2
JBzh
Re: Display all the center content inside an Iframe - Smarty code not executed
  • 2007/3/21 16:38

  • JBzh

  • Just popping in

  • Posts: 18

  • Since: 2004/4/26


I found a way to have a fixe menu using CSS.
In style.css :
le="color: #000000"><?php td#leftcolumn { position:fixed; overflow: auto; top: 1px; } td#centercolumn {font-size: 12px; position:absolute; left: 180px; }

It works with Firefox but not yet with Internet Explorer.

I'm suprised there's not post about this in the Support forums. Maybe I didn't search enough.

3
JBzh
Re: Display all the center content inside an Iframe - Smarty code not executed
  • 2007/3/22 15:04

  • JBzh

  • Just popping in

  • Posts: 18

  • Since: 2004/4/26


Still working on it.
In style.css :
le="color: #000000"><?php [b]div[/b]#leftcolumn { [b]position:fixed; overflow: auto; top: 1px;[/b] } [b]div[/b]#leftcolumn {width: 170px; border-right: 1px solid #cccccc; font-size:11px;} [b]div[/b]#leftcolumn th {background-color: #2F5376; color: #FFFFFF; vertical-align: middle;} [b]div[/b]#leftcolumn div.blockTitle {padding: 3px; background-color: #dddddd; color: #639ACE; font-weight: bold;} [b]div[/b]#leftcolumn div.blockContent {padding: 3px; line-height: 120%; line-height: 120%;} [b]div[/b]#centercolumn {font-size: 12px; [b]position:absolute; left: 180px; top: 90px[/b]} [b]div[/b]#centercolumn th {background-color: #2F5376; color: #FFFFFF; vertical-align: middle;} [b]div[/b]#rightcolumn {width: 170px; border-left: 1px solid #cccccc; font-size:12px;} [b]div[/b]#rightcolumn th {background-color: #2F5376; color: #FFFFFF; vertical-align: middle;} [b]div[/b]#rightcolumn div.blockTitle {padding: 3px; background-color: #dddddd; color: #639ACE; font-weight: bold;} [b]div[/b]#rightcolumn div.blockContent {padding: 3px; line-height: 120%;}



In theme.html :
le="color: #000000"><?php <[b]div[/b] id="leftcolumn"> <!-- Start left blocks loop --> <{foreach item=block from=$xoops_lblocks}> <{include file="default/theme_blockleft.html"}> <{/foreach}> <!-- End left blocks loop --> </[b]div[/b]> <[b]div[/b] id="centercolumn"> <!-- I kept the table for centerCcolumn, centerLcolumn, and centerRcolumn. Working on using [u]only[/u] div and no tables. --> <div id="content"> <{$xoops_contents}> </div> </div> <{if $xoops_showrblock == 1}> <[b]div[/b] id="rightcolumn"> <!-- Start right blocks loop --> <{foreach item=block from=$xoops_rblocks}> <{include file="default/theme_blockright.html"}> <{/foreach}> <!-- End right blocks loop --> </[b]div[/b]>


I hope I'll have a valid CSS theme soon using the default theme.

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits