| 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: |
| DefCon system; Please move to the Code Snippets section | |
|---|---|
| Tweet Topic Started: Jul 18 2009, 08:34 PM (398 Views) | |
| k arthur90-ZNS | Jul 18 2009, 08:34 PM Post #1 |
|
Member
|
> Hello there :$ > I'm not much of a coding expert or something, but I just made a code and I think I could share it here > It's a defcon counter. Useful for MMORPG clans since you can set your clan on alert doing this, and you can set 4 different states of alert or (defense conditions, hence the name). > First, put this on your Style Sheet:
> Now, put this on your JavaScript Wrapper (this allows quick edition of the link and the defcon status)
> At last, you may put this wherever you want your defcon system to appear:
> Now, to set your defcon, you can change the DefCon variable from 1 to 5. The "Information" variable allows you to set to what post does the "Information" link points to (only with Defcons above 5). > You can (and I suggest you to) put this javascript code on the notepad, save it with an *.ibf extension, upload it on your own forums and use the link you get from "File Management -> Attachments" to save wrapper space. > If you do that, remember to remove the <script type...> and </script> from the codes. Edited by k arthur90-ZNS, Jul 18 2009, 09:19 PM.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · zIFBoards - Skinning & Code Support · Next Topic » |






4:39 AM Jul 11