We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Warning System Arrangement; Any way to rearrange items in the warning system?
Topic Started: Jun 24 2011, 10:47 AM (343 Views)
iProgram1
Member
[ * ]
Board Address: http://s4.zetaboards.com/Worldstone_Chamber/index/
Just started this forum so ignore the low quality and incomplete work... ^_^
Board Software: ZetaBoards
Description: I'm just wondering if there is any way to rearrange items that are listed in the warning system, i.e.: the default order is
1. warning note
2. warn -
3. warning level
4. warn +

Is there any way to rearrange these items? I have a large bar icon for the warning level, and it wraps the icons in an odd way. My goal is to have the items in an order that shows the warning note, warn - and warn + icons first, so the warning level icon is on the next line (using a <br> HTML tag). If anyone can help me out, it would be greatly appreciated, thanks! :D
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type"text/javascript">
$(".warn a[title='Warn -']").after("<br />").css("margin-right", "3px");
$(".warn").each(function() {
$(this).find("a[href*=add]").addClass('my_add');
$(this).find("a[href*=sub]").addClass('my_sub');
$('.my_add').insertAfter(".my_sub");
$('.my_add, .my_sub').removeClass();
});
</script>
Offline Profile Goto Top
 
iProgram1
Member
[ * ]
Thank you very much Cory for the quick response.

The code works perfectly, I didn't even have to add in a <br> tag ^_^

Thanks again!
Edited by iProgram1, Jun 24 2011, 04:36 PM.
Offline Profile Goto Top
 
Minato
Member Avatar
Let Me Be With You
[ *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic