Alexander Nicholi
what do you know about computing?
- 5,500
- Posts
- 15
- Years
- Age 27
- Research Triangle / Jakarta
- Seen Sep 22, 2024
[PLAIN][cd=background-color:#0000D6;width:400px;height:20px;border-radius:5px][cd=float:left;background-color:#000090;width:300px;height:20px;border-radius:5px 0px 0px 5px][center][COLOR="White"]75%[/COLOR][/center][/cd][/cd][/PLAIN]
[PLAIN][cd="width:50%; height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-o-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)"][cd="float:left;width:70%;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-o-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease"]70%[/cd][/cd][/PLAIN]
<div class="progressbar" style="width:50%; height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-o-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)"><div class="nopercent" style="float:left;width:{param}%;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-o-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .{param}s ease;-moz-transition:width .{param}s ease;-o-transition:width .{param}s ease;transition:width .{param}s ease">{param}%</div></div>
[progress]70[/progress] |
Or just add a BB code because that's the most user friendly thing to do. Once again, the code already exists (on Bootstrap) and requires minimal effort for implementation. There's no need to shoot down an idea simply because it has a workaround. Not everyone knows, or has the desire to know web languages. So I personally would rather the forum not force that upon them if possible.If they're needed that badly in ROM Hacking it's always possible to put a template somewhere in the section.
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.3.min.js"></script>
<script type="text/javascript">
$('.progressbar > div').each(function(){
this.removeAttribute("class")
});
</script>
.nopercent {
width: 0% !important;
}
Or just add a BB code because that's the most user friendly thing to do. Once again, the code already exists (on Bootstrap) and requires minimal effort for implementation. There's no need to shoot down an idea simply because it has a workaround. Not everyone knows, or has the desire to know web languages. So I personally would rather the forum not force that upon them if possible.
[PLAIN][cd="width:100%; overflow:hidden;"][cd="width:200%;"][progress]70[/progress][/cd][/cd][/PLAIN]
[PLAIN][cd="width:50%; overflow:hidden;"][cd="width:100%;"][progress]70[/progress][/cd][/cd][/PLAIN]
-snip-
[progress-green="progress: 68; width: 50%;"]test[/progress-green]
or
[progress-green=68;250px]test[/progress-green]