Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • [SC] Change Name of Spoiler
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
[SC] Change Name of Spoiler
Tweet Topic Started: Jan 23 2009, 08:07 PM (1,231 Views)
HolySavior Jan 23 2009, 08:07 PM Post #1
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
add this code to your board to change the name of your spoiler to whatever you want.

Code:
 
<script type="text/javascript">
/* created by HolySavior of ZBCode.com */
//spoiler name section
var spoiler_name =""; // Put whatever in it

$(".spoiler_toggle").html(spoiler_name);
</script>
Edited by Reid, Jun 15 2009, 08:19 PM.
Offline Profile Goto Top
 
JFK Apr 17 2009, 08:10 PM Post #2
Member Avatar


Posts:
33
Group:
Member
Member
#1,274
Joined:
Oct 19, 2008
This would be a really cool code if somehow it could be incorporated into a tag...
An example of what I mean :

[spoiler=MY_SPOILER_TITLE]


- Just a thought. :)
Posted Image
Offline Profile Goto Top
 
Reid Apr 17 2009, 08:16 PM Post #3
Member Avatar
What? The land of the free? Whoever told you that was your enemy.

Posts:
1,790
Group:
Distinguished Coder
Member
#148
Joined:
Jul 20, 2008
JFK
Apr 17 2009, 08:10 PM
This would be a really cool code if somehow it could be incorporated into a tag...
An example of what I mean :

[spoiler=MY_SPOILER_TITLE]


- Just a thought. :)
If I'm not mistaken, ZB probably parses tags as they're submitted and doesn't leave them in the post, which is generally how a script like this would work.

Someone could do [spoiler1=... or whatever, but the actual [spoiler] tag is already taken by ZB I think.
The Resource Board
Offline Profile Goto Top
 
JFK Apr 17 2009, 08:58 PM Post #4
Member Avatar


Posts:
33
Group:
Member
Member
#1,274
Joined:
Oct 19, 2008
That would be fine...

Even [spoil=WHATEVER] would be a great addition. :)
Posted Image
Offline Profile Goto Top
 
tangbangnho Mar 31 2010, 03:01 PM Post #5
Member Avatar


Posts:
24
Group:
Member
Member
#3,752
Joined:
Mar 27, 2010
thanks a lot , it's very useful for me to translate English to Vietnamese this text .Posted Image
Two shall be as one , always protects , always trusts , always love Posted Image
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 7:50 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy