Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Artiss

    (@dartiss)

    Thanks for the question Glenn.

    When I wrote this I intentionally didn’t add transitions or any other effects – the whole point is that it’s compact and simple (in fact it’s original title was “Simple Content Reveal”).

    However, I’ll “never say never” as Jquery is part of WP so adding it in will add little overhead. It’s just not my priority. None-the-less, I’ll add it to my change list to look for future…

    http://artiss.co.uk/bugtracker/index.php?do=details&task_id=338&project=14

    Thread Starter Glenn

    (@rglennnall)

    let me toss you a little help. i found this extremely simple jquery slide action after i asked this here.:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
    <script>
    $(document).ready(function(){
        $("#flip").click(function(){
            $("#panel").slideToggle("fast");
        });
    });
    </script>
    
    <style>
    #panel, #flip {
        padding: 5px;
        text-align: center;
        background-color: #e5eecc;
        border: solid 1px #c3c3c3;
    }
    
    #panel {
        padding: 50px;
        display: none;
    }
    </style>
    </head>
    <body>
    
    <div id="flip">Click to slide the panel down or up</div>
    <div id="panel">Hello world!</div>

    http://www.w3schools.com/jquery/jquery_slide.asp

    works like a charm.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘adding jquery transition to the reveal’ is closed to new replies.