michaelbraden Posted February 3, 2014 Posted February 3, 2014 My refill bars will only refill if I dont edit there hight in the code everytime I do, they dont move they just stay @ full can someone add to the code to make them still go up and down even when the hight is at 8px??? here is the code I use <tr> <td colspan="3" class="pos1" height="55" valign="middle"> <div class="topbox"> <table width='800'> <tr> <td width="50%"><img src="images/logo.png" /> </td> <td width="30%"> [<? echo $user_class->id; ?>] <a href='profiles.php?id=<? echo $_SESSION['id'] ?>'><? echo $user_class->formattedname; ?></a><br /> Level: <!_-level-_!> <br /> Money: $ <!_-money-_!> <a href = "bank.php">[bank]</a> <br /> Points: <!_-points-_!> <a href = "spendpoints.php">[use]</a> <a href = "sendpoints.php">[send]</a><br /> Credits: <?=$user_class->Credits;?> <a href = "rmstore.php">[use]</a> <a href = "sendCredits.php">[send]</a></td> <td width="20%"> HP: <div class="bar_a" title="<!_-formhp-_!>"> <div style="height:8px;" class="bar_b" style="width: <!_-hpperc-_!>%;" title="<!_-formhp-_!>"> </div> <a title = 'Refill this bar' href='spendpoints.php?spend=energy'>Energy</a>: <div class="bar_a" title="<!_-formenergy-_!>"> <div style="height:8px;" class="bar_b" style="width: <!_-energyperc-_!>%;" title="<!_-formenergy-_!>"> </div> </div> <a title = 'Refill this bar' href='spendpoints.php?spend=awake'>Awake</a>: <div class="bar_a" title="<!_-formawake-_!>"> <div style="height:8px;" class="bar_b" style="width: <!_-awakeperc-_!>%;" title="<!_-formawake-_!>"> </div> </div> <a title = 'Refill this bar' href='spendpoints.php?spend=nerve'>Nerve</a>: <div class="bar_a" title="<!_-formnerve-_!>"> <div class="bar_b" style="width: <!_-nerveperc-_!>%;" title="<!_-formnerve-_!>"> </div> </div></td> </tr> </table> </div> </td> </tr> Quote
michaelbraden Posted February 3, 2014 Author Posted February 3, 2014 fixed :) so dont worry hehe Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.