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)
<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.
          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 :
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 :
[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 :
<[b]div[/bid="leftcolumn">
        
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="default/theme_blockleft.html"}>
        <{/foreach}>
        

      b]div[/b]>

      <[
b]div[/bid="centercolumn">

      

        <
div id="content">
          <{
$xoops_contents}>
        div>
      div>

      <{if 
$xoops_showrblock == 1}>

      <[
b]div[/bid="rightcolumn">
        
        <{foreach 
item=block from=$xoops_rblocks}>
          <{include 
file="default/theme_blockright.html"}>
        <{/foreach}>
        
      b]div[/b]>


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

Login

Who's Online

233 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits