HyperLamer
Posts: 2778/8210 |
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]>.)
Violent J
Posts: 87/749 |
OK fixed. Thanks! |
Dylan
Posts: 1267/1407 |
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
Posts: 78/749 |
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! |
windwaker
Posts: 875/1797 |
You should probably change the blue bar at the bottom; it blends into your background too much. |
Violent J
Posts: 54/749 |
Meh. I frigged the code and it came out like this. I really dont care though. Thanks man! |
Dylan
Posts: 1264/1407 |
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
Posts: 51/749 |
Yay thx! |
Dylan
Posts: 1263/1407 |
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
Posts: 41/749 |
Youve lost me. |
Smallhacker
Posts: 1169/2273 |
<img src="green.gif" width=&exppct&><img src="red.gif" width=&exppct2&>
Violent J
Posts: 40/749 |
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. |
| | |