SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: allemand1 on June 04, 2010, 09:33:40 PM

Title: Whoseonline Block MaxHeight IE6!
Post by: allemand1 on June 04, 2010, 09:33:40 PM
In IE6, if you have lot of users online, the maxheight of the block does'nt work.

Look:
(http://farm5.static.flickr.com/4071/4670709308_7034d5a21f_b.jpg)

To fix this, you have to edit portal.css
From this:
Code: [Select]
.sp_online_flow
{
max-height: 150px;
overflow: auto;
}
To this:
Code: [Select]
.sp_online_flow
{
max-height: 150px;
overflow: auto;
height: expression( this.scrollHeight > 149 ? "150px" : "auto" ); /* sets max-height for IE */
}

Result:
(http://farm2.static.flickr.com/1296/4670082761_19dd153991.jpg)
Title: Re: Whoseonline Block MaxHeight IE6!
Post by: Nathaniel on June 05, 2010, 01:40:54 AM
Reported on the ProjectTracker:
http://simpleportal.net/index.php?issue=386.0
SimplePortal 2.3.8 © 2008-2024, SimplePortal