1
SillDude
Help with a scrollbar
  • 2006/4/30 13:09

  • SillDude

  • Just popping in

  • Posts: 9

  • Since: 2005/2/20


Hi all,

I am having problems with something maybe you guys can help me. This is the problem:

I made a new theme but I want to keep it the same size (so if you have more text in your centerfield then the size the field)

I tryed to use

<IFRAME SRC="<{$xoops_imageurl}>centerfield.html" WIDTH=500 HEIGHT=500 frameborder="0" scrolling="yes">IFRAME>


and made a page (centerfield.html) with this in it:

<body background="images/layout_.gif">

         <
body background="images/layout_.gif">
        <{if 
$xoops_showcblock == 1}> 
        <
table cellspacing="0">
          <
tr
            <
td width="100%" colspan="2"
              
              <{foreach 
item=block from=$xoops_ccblocks}> <table cellspacing="1" cellpadding="5">
                <
tr
                  <
td class="blockTitle"><{$block.title}>td>
                tr>
                <
tr
                  <
td class="blockContent"><{$block.content}>td>
                tr>
              table>
              <{/foreach}> 
              
            td>
          tr>
          <
tr
            <
td width="50%"
              
              <{foreach 
item=block from=$xoops_clblocks}> <table cellspacing="1" cellpadding="5">
                <
tr
                  <
td class="blockTitle">&nbsp;<{$block.title}>td>
                tr>
                <
tr
                  <
td class="blockContent"><{$block.content}>td>
                tr>
              table>
              <{/foreach}> 
              
            td>
            <
td width="50%"
              
              <{foreach 
item=block from=$xoops_crblocks}> <table cellspacing="1" cellpadding="5">
                <
tr
                  <
td class="blockTitle">&nbsp;<{$block.title}>td>
                tr>
                <
tr
                  <
td class="blockContent"><{$block.content}>td>
                tr>
              table>
              <{/foreach}> 
              
            td>
          tr>
        table>
        
<{/if}> 
div>
<
div align="left" id="content"> <{$xoops_contents}> div>
          <
TD>
body>



and the only thing it shows on the page is

<{if $xoops_showcblock == 1}>
<{foreach item=block from=$xoops_ccblocks}>
<{$block.title}>
<{$block.content}>
<{/foreach}>
<{foreach item=block from=$xoops_clblocks}>
<{$block.title}>
<{$block.content}>
<{/foreach}> <{foreach item=block from=$xoops_crblocks}>
<{$block.title}>
<{$block.content}>
<{/foreach}>
<{/if}>
<{$xoops_contents}>

2
web-M
Re: Help with a scrollbar
  • 2006/4/30 13:30

  • web-M

  • Just popping in

  • Posts: 100

  • Since: 2006/1/2 2


I'm not a coder but i think you have to set into your html page that the code you use is html.

Maybe you can do this by starting with and then you code and after that end with

I don't know for sure but maybe that will do the job.


Matybe there are some others that are also willing to help?

3
SillDude
Re: Help with a scrollbar
  • 2006/4/30 19:46

  • SillDude

  • Just popping in

  • Posts: 9

  • Since: 2005/2/20


Nope that didn't fix it.. Anyone else an idea ?

4
web-M
Re: Help with a scrollbar
  • 2006/4/30 21:27

  • web-M

  • Just popping in

  • Posts: 100

  • Since: 2006/1/2 2


Maybe this will work:

Maybe you can build this in:

<IFRAME  WIDTH=500 HEIGHT=500 frameborder="0" scrolling="yes">
<
body background="images/layout_.gif">

         <
body background="images/layout_.gif">
        <{if 
$xoops_showcblock == 1}> 
        <
table cellspacing="0">
          <
tr
            <
td width="100%" colspan="2"
              
              <{foreach 
item=block from=$xoops_ccblocks}> <table cellspacing="1" cellpadding="5">
                <
tr
                  <
td class="blockTitle"><{$block.title}>td>
                tr>
                <
tr
                  <
td class="blockContent"><{$block.content}>td>
                tr>
              table>
              <{/foreach}> 
              
            td>
          tr>
          <
tr
            <
td width="50%"
              
              <{foreach 
item=block from=$xoops_clblocks}> <table cellspacing="1" cellpadding="5">
                <
tr
                  <
td class="blockTitle"> <{$block.title}>td>
                tr>
                <
tr
                  <
td class="blockContent"><{$block.content}>td>
                tr>
              table>
              <{/foreach}> 
              
            td>
            <
td width="50%"
              
              <{foreach 
item=block from=$xoops_crblocks}> <table cellspacing="1" cellpadding="5">
                <
tr
                  <
td class="blockTitle"> <{$block.title}>td>
                tr>
                <
tr
                  <
td class="blockContent"><{$block.content}>td>
                tr>
              table>
              <{/foreach}> 
              
            td>
          tr>
        table>
        
<{/if}> 
div>
<
div align="left" id="content"> <{$xoops_contents}> div>
          <
TD>
IFRAME>


I tried this in a wf-chanelpage and I got the scrollbars. But I couldn't test it because I had no content.

(Misschien kun je ook nog op xoops.nl kijken )

Login

Who's Online

440 user(s) are online (400 user(s) are browsing Support Forums)


Members: 0


Guests: 440


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