Simple HTML Question: Show/Hide

Discussion in 'Technology' started by Andre8Johnson0, Oct 19, 2015.

Simple HTML Question: Show/Hide
  1. Unread #1 - Oct 19, 2015 at 10:43 PM
  2. Andre8Johnson0
    Joined:
    Feb 23, 2011
    Posts:
    362
    Referrals:
    0
    Sythe Gold:
    48
    Two Factor Authentication User

    Andre8Johnson0 Forum Addict

    Simple HTML Question: Show/Hide

    How do people have an option to show/hide a big box of text/pictures on these forums?

    Spoiler, thanks, got it solved.
     
  3. Unread #2 - Oct 20, 2015 at 1:12 AM
  4. Xier0
    Joined:
    Jan 16, 2013
    Posts:
    13,001
    Referrals:
    2
    Sythe Gold:
    20
    Sythe's 10th Anniversary DIAF Lawrence Member of the Month Winner Gohan has AIDS

    Xier0 Legend
    $5 USD Donor New

    Simple HTML Question: Show/Hide

    Are you asking how to use this feature on Sythe or how to do replicate this feature on your own website?
     
  5. Unread #3 - Oct 20, 2015 at 1:49 AM
  6. Andre8Johnson0
    Joined:
    Feb 23, 2011
    Posts:
    362
    Referrals:
    0
    Sythe Gold:
    48
    Two Factor Authentication User

    Andre8Johnson0 Forum Addict

    Simple HTML Question: Show/Hide

    On Sythe.
     
  7. Unread #4 - Oct 20, 2015 at 6:48 AM
  8. VGMarketing
    Joined:
    May 11, 2015
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    49
    Verified Master Easter 2016 Extreme Homosex (2) MushyMuncher Gohan has AIDS

    VGMarketing Previously known as Yasuo
    $300 USD Donor New

    Simple HTML Question: Show/Hide

    If you are referring to using this on your own site then you can do this by Using Jquery,
    e.g.
    Code:
    <html>
    <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script>
    $(document).ready(function(){
        $("#hide").click(function(){
            $("h1").hide();
        });
        $("#show").click(function(){
            $("h1").show();
        });
    });
    </script>
    </head>
    <body>
    
    <h1>If you click the hide button this text will hide.</h1>
    
    <button id="hide">Hide</button>
    <button id="show">Show</button>
    
    </body>
    </html>
    
     
  9. Unread #5 - Oct 20, 2015 at 8:18 PM
  10. Jon
    Joined:
    Jun 11, 2011
    Posts:
    1,745
    Referrals:
    3
    Sythe Gold:
    11
    420 yolo swag blaze it fuck the popo legalize it anyone got some chips Two Factor Authentication User Easter 2016 Valentine's Day 2016 Community Development Team Member Tier 1 Prizebox Halloween 2015 Christmas 2015

    Jon Jon passed away July 20, 2016. May he rest in peace.
    $200 USD Donor New Cancer Warrior Heavenly

    Simple HTML Question: Show/Hide

    duh

    PHP:
    [SPOILER="**"][/SPOILER]
    ..............
     
< Can iPhone 4 run iOS9? | Outdoor Home Security Cameras >

Users viewing this thread
1 guest


 
 
Adblock breaks this site