Jump to content


Photo

Visual Exp Bars


  • Please log in to reply
1 reply to this topic

#1 supanoob

supanoob
  • Members
  • PipPipPip
  • Advanced Member
  • 342 posts

Posted 26 October 2006 - 01:18 PM

So i want something like this:

Posted Image

and when i gain exp it will go up. But i dont know how to start, i dont want the bar to get any bigger, i just want it to fill with a color, whenever i have gained exp. anyone know how to do it?

#2 Psycho

Psycho
  • Moderators
  • Move along, nothing to see here
  • 11,892 posts
  • LocationCanada

Posted 26 October 2006 - 02:56 PM

Try this. Just use the programming to change the percentage width of the 2nd div:

<div style="width:150px;font-size:4pt;border:1px solid black;">
  <div style="width:75%;background-color:blue;"></div>
</div>
The quality of the responses received is directly proportional to the quality of the question asked.

I do not always test the code I provide, so there may be some syntax errors. In 99% of all cases I found the solution to your problem here: http://www.php.net




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users