Shape 5

Joomla Templates => CommPortal - July 08 - Club => : mummygeek August 30, 2009, 02:29:27 PM



: article content running over white background
: mummygeek August 30, 2009, 02:29:27 PM
from the screen print you can see what the problem is. This happens in FF on some machines - Is it to do with the loading order ?  I can't recreate this in FF or IE but this happens continually on another PC in FF.

The text is running over AND there are 'Read more' buttons AND 'Discuss this' buttons that disappear below the lower mod positions.

And actually you can see that the images in the right mod positions are also overflowing out of the white background.

Any help appreciated
Mummy



: Re: article content running over white background
: jonahh August 31, 2009, 08:50:05 PM
Hello,

At the bottom of your index.php file look for:

<script type="text/javascript">
s5_load_pos();
</script>


and replace it with:

<?php if($this->countModules('left') || $this->countModules('right')) { ?>   
   <script type="text/javascript">
   var c=0;
var t;
function getheights()
{
s5_load_pos();
c=c+1;
t=setTimeout("getheights()",500);
}
getheights();
   </script>
<?php } ?>



: Re: article content running over white background
: mummygeek September 01, 2009, 04:35:22 AM
Tried the new code in index.php.

There was an interesting outcome. The page loaded and the white space kept creeping down the page.  So the bottom mods were being pushed further and further down and as you can see from the screen print the scroll bar indicates how far down this kept going. I gave it a few minutes and it didn't stop.

I've put the original code back but can leave it for you to see if you want.


: Re: article content running over white background
: jonahh September 01, 2009, 10:49:19 PM
Oh ok, try this instead:


<?php if($this->countModules('left') || $this->countModules('right')) { ?>   
   <script type="text/javascript">

setTimeout("s5_load_pos()",1000);


   </script>
<?php } ?>

If you have the original problem still try increasing the 1000, to 2000, etc


: Re: article content running over white background
: mummygeek September 02, 2009, 06:03:56 AM
ok thanks - this looks fine with me in ie6 / 7 and FF 3.5 - I shall get it checked on the offending PC and FF and let you know.
Mummy


: Re: article content running over white background
: vladicon January 28, 2010, 08:48:30 PM
Oh ok, try this instead:


<?php if($this->countModules('left') || $this->countModules('right')) { ?>   
   <script type="text/javascript">

setTimeout("s5_load_pos()",1000);


   </script>
<?php } ?>

If you have the original problem still try increasing the 1000, to 2000, etc

Ohhh! yes! It works a little slower than the original, but without overlaping :-)