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,135
    Reputation
    619
    Thanks
    4,349

    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,930
    Reputation
    2539
    Thanks
    4,216
    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,135
    Reputation
    619
    Thanks
    4,349
    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,930
    Reputation
    2539
    Thanks
    4,216
    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
    27,856
    Reputation
    3541
    Thanks
    36,157
    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.” - Dave84311HAD 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,135
    Reputation
    619
    Thanks
    4,349
    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,828
    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 09:18 PM.

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

  10. #9
    Ed's Avatar
    Join Date
    Apr 2010
    Gender
    female
    Location
    New Zealand
    Posts
    18,295
    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
    Saboteur's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Great White North
    Posts
    29,412
    Reputation
    5235
    Thanks
    7,581
    My Mood
    Grumpy
     
    Yup


    So the SPOILER=___ is the title, and the ]___[ is the body of it.
    Last edited by Saboteur; 11-01-2011 at 02: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 & Help
    Replies: 10
    Last Post: 05-23-2011, 11:46 AM
  2. anti- fan tag TAG
    By -[standoff]- in forum Art & Graphic Design
    Replies: 20
    Last Post: 07-21-2006, 01:12 AM
  3. Bant Stick Fan Tag
    By -[standoff]- in forum Art & Graphic Design
    Replies: 8
    Last Post: 07-19-2006, 04:47 AM
  4. Now my fan tag
    By jadedfrog in forum Art & Graphic Design
    Replies: 19
    Last Post: 07-18-2006, 04:31 AM
  5. My Fan Tag
    By Jackal in forum Art & Graphic Design
    Replies: 16
    Last Post: 07-15-2006, 01:16 PM