Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that
by zxaltan » Sat Jul 29, 2006 10:53 pm
I am woring on an addon and would like it use the level bar that is used to display a players level what file is the script in
-
zxaltan
- Roster AddOn Dev
-
- Posts: 62
- Joined: Mon Jul 10, 2006 1:09 am
by zanix » Sun Jul 30, 2006 1:21 am
That actually duplicated throughout roster where you see it
I'll give you a code snip from
memberslist.php
It's cleaned up so you just need to replace anthing in side comment tags ( <!-- -->) with the real value
- Code: Select all
<div class="levelbarParent" style="width:<!-- OVERALL WIDTH -->px;"><div class="levelbarChild">Display Text</div>
<table class="expOutline" border="0" cellpadding="0" cellspacing="0" width="<!-- OVERALL WIDTH -->">
<tr>
<td style="background-image:url(<?php echo $roster_conf['img_url']; ?>expbar-var2.gif);" width="<-- FILLED WIDTH PERCENT -->%"><img src="<?php echo $roster_conf['img_url']; ?>pixel.gif" height="14" width="1" alt=""></td>
<td width="<-- 100-(FILLED WIDTH PERCENT) -->%"></td>
</tr>
</table>
</div>
-
zanix
- Admin
- WoWRoster.net Dev Team
- UA/UU Developer
-
- Posts: 5546
- Joined: Mon Jul 03, 2006 8:29 am
- Location: Idaho Falls, Idaho
- Realm: Doomhammer (PvE) - US
-
by zxaltan » Sun Jul 30, 2006 2:41 am
Thx
-
zxaltan
- Roster AddOn Dev
-
- Posts: 62
- Joined: Mon Jul 10, 2006 1:09 am
Return to General Code Help
Who is online
Users browsing this forum: No registered users and 1 guest