Welcome Guest [Log In] [Register]
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:
Add Reply
spoiler bbtag
Topic Started: Nov 11 2007, 08:47 PM (1,552 Views)
godkillah
Member Avatar
Phantom-designs.net Coding Manager
 *   *   *   *  
Name: spoiler bbtag
Description: a spoiler bbtag which should be exactly as the the SMF spoiler bbtag, adds a button and when you click on it it shows/hides the text that whas added between the
Spoiler: click to toggle

Copyright: Godkillah
Browser compatibility:
Known Bugs: None
Preview/Screen shot: None
Installation: Add to footers:
Code:
 
<script src="http://mwr247.atwebpages.com/spoiler386.js">
/*spoiler bbtag
by godkillah
from phantom-designs.net*/
</script>
Edited by godkillah, Nov 13 2008, 12:47 PM.
Offline Profile Quote Post Goto Top
 
Viral.
Member Avatar
Member
 *   *   *   *   *   *  
Very nice godkillah, checking if itworks now.
Offline Profile Quote Post Goto Top
 
u n d e r t a k e r
Member Avatar
Member
 *  
I've been wondering, anyway to make this a clickable tag like the bold/italics/underline buttons you see in the posting screen?
Offline Profile Quote Post Goto Top
 
godkillah
Member Avatar
Phantom-designs.net Coding Manager
 *   *   *   *  
i didnt add that to this code but you could use my All bbtags you want code for it i guess,
just put this code above that 1 so this 1 will make the bbtag work and the other 1 will add the button
Offline Profile Quote Post Goto Top
 
Cory
Member
 *   *   *   *   *   *   *  
Notice: Due to godkillah's bandwidth being exceeded, the original script will not work. Please use the updated script below.
Code:
 
<script src="http://mwr247.atwebpages.com/spoiler386.js">
/*spoiler bbtag
by godkillah
from phantom-designs.net*/
</script>
Please see the original post for code instructions and information.
Offline Profile Quote Post Goto Top
 
godkillah
Member Avatar
Phantom-designs.net Coding Manager
 *   *   *   *  
thanks, i shall edit the original post ;)
Offline Profile Quote Post Goto Top
 
DN13Lz
Member
 *  
thx to godkillah, this code works for me...
but i want to ask how to make the spoiler code button?
thx very much
Offline Profile Quote Post Goto Top
 
godkillah
Member Avatar
Phantom-designs.net Coding Manager
 *   *   *   *  
on the post page?
try this http://if.invisionfree.com/topic/353161
Offline Profile Quote Post Goto Top
 
blade23
Member
 *  
This does not work for me. Can someone please explain how to set up bbtag buttons in simple terms. I have been trying tor over a week now and can't seem to do it.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code Snippets · Next Topic »
Add Reply