Results 1 to 5 of 5
  1. #1

    A spoiler BB Code would be useful. :)

    It's pretty useful in any forum.

    Here is how to create one:
    In the admincp>Custom BB Codes>Add New BB Code
    Title:Spoiler
    Tag:SPOILER
    Replacement:
    <div style="margin:20px; margin-top:5px">
    <div class="smallfont" style="margin-bottom:2px"><b>{option}</b>: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onClick="if (this.parentNode.parentNode.getElementsByTagName(' div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }">
    </div>
    <div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
    <div style="display: none;">
    {param}
    </div>
    </div>
    </div>
    Example:
    Spoiler!

    Description:This tag is used to hide important information as final of films, games and etc... It can also be used to wrap large images and allow easier thread browsing.
    Use {option}:Yes
    Button Image (Optional):images/editor/spoiler.gif

    Upload this image to /image/editor/ folder

    Done!
    ------------------------------------------
    LOL I just realized it already exists xD
    but it misses the button in editor
    Last edited by Yakushi~Kabuto; 10-29-2007 at 02:55 PM. Reason: Automerged Doublepost

  2. #2
    Queen Most
    Likely To Be King
    NPG's Avatar
    Join Date
    Jul 2007
    Location
    London, UK
    Posts
    894
    Oh dear...


  3. #3
    Retired Administrator blud's Avatar
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    1,187
    Although we already had the tags, the button now appears on the message editor, thanks for that suggestion.

  4. #4
    Senior Member Shock's Avatar
    Join Date
    Jul 2007
    Location
    Honolulu, HI
    Posts
    4,024
    what does BB mean?
    A pie in the sky?

  5. #5
    Retired Administrator
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    812
    bb= bulletin board.
    Si vis pacem, para bellum
    PGP Key Here

Similar Threads

  1. Wii friends code, post them please.
    By MountainLionLink in forum Video Games
    Replies: 11
    Last Post: 02-05-2010, 02:11 AM
  2. Code Geass
    By karura in forum Shonen Manga
    Replies: 23
    Last Post: 08-26-2008, 02:29 AM
  3. Code Geass
    By Vizard in forum General Anime
    Replies: 72
    Last Post: 04-17-2008, 01:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •