Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Bars | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Violent J

Melon Bug
Level: 41

Posts: 40/749
EXP: 479154
For next: 991

Since: 05-05-04
From: The Lotus Pod

Since last post: 8 hours
Last activity: 8 hours
Posted on 01-01-05 01:41 AM Link | Quote
How do they work? The ones that show like a pic at one end of their layout and it goes accross dependant on their EXP.


(edited by Sonicandtails on 12-31-04 04:43 PM)
(edited by Sonicandtails on 12-31-04 04:43 PM)
(edited by Sonicandtails on 12-31-04 04:44 PM)
Smallhacker

Green Birdo

SMW Hacking Moderator
Level: 68

Posts: 1169/2273
EXP: 2647223
For next: 81577

Since: 03-15-04
From: Söderhamn, Sweden

Since last post: 10 hours
Last activity: 9 hours
Posted on 01-01-05 03:18 AM Link | Quote
<img src="green.gif" width=&exppct&><img src="red.gif" width=&exppct2&>


(edited by Smallhacker on 12-31-04 06:19 PM)
Violent J

Melon Bug
Level: 41

Posts: 41/749
EXP: 479154
For next: 991

Since: 05-05-04
From: The Lotus Pod

Since last post: 8 hours
Last activity: 8 hours
Posted on 01-01-05 05:50 AM Link | Quote
Youve lost me.
Dylan
Devil Trumpets and Angel Trombones ~
Level: 54

Posts: 1263/1407
EXP: 1181697
For next: 52173

Since: 06-19-04
From: Ottawa, Canada.

Since last post: 1 day
Last activity: 6 hours
Posted on 01-02-05 12:20 AM Link | Quote
First, I'll direct you here. So what you'll want to do is create a table. The table will have two cells. The first cell has the width "Percentage of EXP done in the level", represented by &exppct& as you can see in the chart. The other cell has the width of "Percentage of EXP left in the level", which is represented by &exppct2&, as seen in the table I linked you to. So then in each of the cells, you throw in background color or image, etc.



<table width=400 height=20 cellspacing=0 cellpadding=0>
<tr><td width=&exppct& bgcolor=red></td>
<td width=&exppct2& bgcolor=yellow></td></tr>
</table>
Violent J

Melon Bug
Level: 41

Posts: 51/749
EXP: 479154
For next: 991

Since: 05-05-04
From: The Lotus Pod

Since last post: 8 hours
Last activity: 8 hours
Posted on 01-02-05 12:55 AM Link | Quote
Yay thx!
Dylan
Devil Trumpets and Angel Trombones ~
Level: 54

Posts: 1264/1407
EXP: 1181697
For next: 52173

Since: 06-19-04
From: Ottawa, Canada.

Since last post: 1 day
Last activity: 6 hours
Posted on 01-02-05 06:00 AM Link | Quote
No problem. Hmm, I see you you've my exact example source. No problem of course, but that text in it "LVL UP" isn't going to work out. Why? because that means the minimum width of that cell is the width of the text. =-o So when you're 99% complete, that red bar will only go up to the text. So your best to make another cell after the yellow cell and write your words.
Violent J

Melon Bug
Level: 41

Posts: 54/749
EXP: 479154
For next: 991

Since: 05-05-04
From: The Lotus Pod

Since last post: 8 hours
Last activity: 8 hours
Posted on 01-02-05 06:34 AM Link | Quote
Meh. I frigged the code and it came out like this. I really dont care though. Thanks man!
windwaker

Ball and Chain Trooper
WHY ALL THE MAYONNAISE HATE
Level: 61

Posts: 875/1797
EXP: 1860597
For next: 15999

Since: 03-15-04

Since last post: 4 days
Last activity: 6 days
Posted on 01-02-05 09:54 AM Link | Quote
You should probably change the blue bar at the bottom; it blends into your background too much.
Violent J

Melon Bug
Level: 41

Posts: 78/749
EXP: 479154
For next: 991

Since: 05-05-04
From: The Lotus Pod

Since last post: 8 hours
Last activity: 8 hours
Posted on 01-02-05 10:18 AM Link | Quote
Look better now? Also if anyone would like to help me with using multiple alerts that change everythime you hit the button that would be awsome!
Dylan
Devil Trumpets and Angel Trombones ~
Level: 54

Posts: 1267/1407
EXP: 1181697
For next: 52173

Since: 06-19-04
From: Ottawa, Canada.

Since last post: 1 day
Last activity: 6 hours
Posted on 01-02-05 10:33 AM Link | Quote
Uh, I forgot to mention, you need to put a percent sign after the width. So it should look like:
width=&exppct&% and width=&exppct2&%. Otherwise, the width will be interpreted as pixels, and we don't want that.
Violent J

Melon Bug
Level: 41

Posts: 87/749
EXP: 479154
For next: 991

Since: 05-05-04
From: The Lotus Pod

Since last post: 8 hours
Last activity: 8 hours
Posted on 01-02-05 10:40 AM Link | Quote
OK fixed. Thanks!
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 2778/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 01-03-05 07:42 AM Link | Quote
Looks great, but it'd be even better if you added "border=0" to the table tag. (Like <table border=0 [whatever you put here]>.)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Bars | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.010 seconds.