Thread: Spoiler Tag

Results 1 to 10 of 10
  1. #1
    Blitz's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    127.0.0.1
    Posts
    4,132
    Reputation
    619
    Thanks
    5,035

    Spoiler Tag

    Dave told me a couple weeks ago that a Spoiler Tag would be coming with VB4. Was wondering if you guys could go ahead and implement one, because I need it to make a clean thread for some packets I'm posting in the MapleStory section (it's a very big list).

    Code:
    <div style="margin: 5px;">
    <div class="smallfont" style="margin-bottom: 2px;">
    <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElements ByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline'){ this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }else{ this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
    </div>
    <div class="alt2" style="border: 1px inset ; padding: 6px;">
    <div class="spoiler" style="display: none;"></div>
    </div>
    </div>
    @Dave84311


  2. #2
    Alen's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Location
    Liquid Generator
    Posts
    27,920
    Reputation
    2548
    Thanks
    4,224
    My Mood
    Fine
    Might as well use classes & jquery if we're already using it for something else. Why go through all this hassle when you can have a far more elegant and safe solution...

  3. #3
    Blitz's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    127.0.0.1
    Posts
    4,132
    Reputation
    619
    Thanks
    5,035
    Quote Originally Posted by Alen View Post
    Might as well use classes & jquery if we're already using it for something else. Why go through all this hassle when you can have a far more elegant and safe solution...
    Can you find one?


  4. #4
    Alen's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Location
    Liquid Generator
    Posts
    27,920
    Reputation
    2548
    Thanks
    4,224
    My Mood
    Fine
    I'm sure Dave will manage to write 3/4 lines of html, 3/4 lines of css and a couple of lines of JS. It ain't hard to make

  5. #5
    Dave84311's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    The Wild Wild West
    Posts
    35,837
    Reputation
    5782
    Thanks
    41,292
    My Mood
    Devilish
     
    Hidden Content Here...

    Testing spoiler.





    THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE


    "First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311

    HAVING VIRTUAL DETOX

  6. The Following 3 Users Say Thank You to Dave84311 For This Useful Post:

    Blitz (10-31-2011),Ian (10-31-2011),iFacebook-Backup (11-11-2011)

  7. #6
    Blitz's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    127.0.0.1
    Posts
    4,132
    Reputation
    619
    Thanks
    5,035
    Quote Originally Posted by Dave84311 View Post
     
    Hidden Content Here...

    Testing spoiler.
    Do like


  8. #7
    Ian's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Location
    ส้้้้้้้้้้้้้
    Posts
    5,827
    Reputation
    506
    Thanks
    892
    Quote Originally Posted by Dave84311 View Post
     
    Hidden Content Here...

    Testing spoiler.
    About time! Looks .
    Last edited by Ian; 10-31-2011 at 08:18 PM.

  9. #8
    Poison's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    california
    Posts
    11,788
    Reputation
    854
    Thanks
    1,216
    Nice new tag
    do want

  10. #9
    Ed's Avatar
    Join Date
    Apr 2010
    Gender
    female
    Location
    New Zealand
    Posts
    18,293
    Reputation
    1007
    Thanks
    1,163
    My Mood
    In Love
    Quote Originally Posted by Poison View Post
    Nice new tag
    do want
    Can you even read?





  11. #10
    Austin's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Great White North
    Posts
    30,484
    Reputation
    6104
    Thanks
    8,326
    My Mood
    Lurking
     
    Yup


    So the SPOILER=___ is the title, and the ]___[ is the body of it.
    Last edited by Austin; 11-01-2011 at 01:22 AM.




    VIP Support // May 2011
    CF Minion // January 2012
    Newsforce // August 2012
    Minion+ // March 2013
    Moderator // August 2014
    Former Staff // January 2015
    General Minion // July 2015
    Publicist // December 2015





Similar Threads

  1. Spoiler Tag
    By cfsharp in forum Suggestions, Requests & General Help
    Replies: 10
    Last Post: 05-23-2011, 10:46 AM
  2. anti- fan tag TAG
    By -[standoff]- in forum Art & Graphic Design
    Replies: 20
    Last Post: 07-21-2006, 12:12 AM
  3. Bant Stick Fan Tag
    By -[standoff]- in forum Art & Graphic Design
    Replies: 8
    Last Post: 07-19-2006, 03:47 AM
  4. Now my fan tag
    By jadedfrog in forum Art & Graphic Design
    Replies: 19
    Last Post: 07-18-2006, 03:31 AM
  5. My Fan Tag
    By Jackal in forum Art & Graphic Design
    Replies: 16
    Last Post: 07-15-2006, 12:16 PM