Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    England
    Posts
    495
    Tokens
    0

    Default [PHP] Process bar [+rep]

    Hey,

    I need a process bar like the following images...
    http://www.peergoal.com/scripts/quick_project_manager_lite/?ref=hotscripts.com-QPM

    Where it gets like 35 from the database and shows 30% of a 100% shaded or a colour (eg green)

    I cant seem to do it, can someone post a link to something like this or post an eg code or one that i can use?

    Danny


  2. #2
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    <div style="width: 500px; border: 1px solid #000000; height: 40px;"><div style="height: 100%; width: <?php echo file_get_contents( "precent.txt" ); ?>%; background: green;"></div></div>

    That should work, make a file called precent.txt and put the % you want the bar to be in there.
    Lets set the stage on fire, and hollywood will be jealous.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •