Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Profile Forum
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #11
RE: Profile Forum
If there is no limit, the level bar will not work "correctly". It will stop to level up at a certain value (when the bar full). It is a bit hard to explain it. You have two choice for the level, using pixel or percentage.

Example I: Use Display Format like this for percent:

HTML Code
1
2
3
4
5
6
7
8
9
10
11
<tr>
<td width="150">Cooking Level</td>
<td width="1">:</td>
<td>
<div class="tcat" style="width: 250px; overflow: hidden;">
<div class="thead" style="width: {VALUE}%; white-space: nowrap;">
<span style="margin-left: 9px;"><strong>Level {VALUE}</strong></span>
</div>
</div>
</td>
</tr>


The level bar will "stop" at level 100 (full bar level), so, it won't break your template. But the level text will continue to level up.

Example II: Use Display Format like this for pixel:

HTML Code
1
2
3
4
5
6
7
8
9
10
11
<tr>
<td width="150">Cooking Level</td>
<td width="1">:</td>
<td>
<div class="tcat" style="width: 250px; overflow: hidden;">
<div class="thead" style="width: {VALUE}px; white-space: nowrap;">
<span style="margin-left: 9px;"><strong>Level {VALUE}</strong></span>
</div>
</div>
</td>
</tr>


Similar as Example I, but the level bar will "stop" at level 250 (full bar level), so, it won't break your template too. But the level text will continue to level up. You can set in what level the the level bar will stop to level up. Change the width value in line #5. Maybe you need to change the layout of your profile thread, so you can set the width value to a bigger value (depends on the width of your theme).


06-24-2010 06:31 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Profile Forum - RateU - 06-05-2010, 10:39 AM
RE: Profile Forum - ZiNgA BuRgA - 06-05-2010, 01:42 PM
RE: Profile Forum - RateU - 06-06-2010, 07:29 AM
RE: Profile Forum - Minnemann - 06-24-2010, 12:46 AM
RE: Profile Forum - RateU - 06-24-2010, 02:10 AM
RE: Profile Forum - Minnemann - 06-24-2010, 02:12 AM
RE: Profile Forum - RateU - 06-24-2010, 02:23 AM
RE: Profile Forum - Minnemann - 06-24-2010, 02:25 AM
RE: Profile Forum - RateU - 06-24-2010, 02:37 AM
RE: Profile Forum - Minnemann - 06-24-2010, 05:43 AM
RE: Profile Forum - RateU - 06-24-2010 06:31 AM
RE: Profile Forum - Minnemann - 06-24-2010, 06:39 AM
RE: Profile Forum - leefish - 07-05-2010, 01:56 AM
RE: Profile Forum - RateU - 07-05-2010, 08:35 AM
RE: Profile Forum - leefish - 07-05-2010, 08:45 AM
RE: Profile Forum - RateU - 07-05-2010, 09:15 AM
RE: Profile Forum - RateU - 01-11-2011, 09:50 AM
RE: Profile Forum - Sama34 - 04-22-2012, 09:05 AM
RE: Profile Forum - xensor - 04-16-2015, 06:17 PM
RE: Profile Forum - xensor - 10-07-2016, 06:47 AM

 Standard Tools
Forum Jump: