JSFiddle

  • Slide/fade CSS3 #6 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript

    var box = document.getElementById('box');
    
    function slide() {
        if (box.style.maxHeight != "100px") {
            box.style.maxHeight = "100px";
            box.style.opacity = "1 ...
  • Slide/fade CSS3 #1646 is the latest revision

    Mootools 1.3.2, HTML, CSS, JavaScript

    <div id="toggle">
        <a class="bot" href="#">Push me</a>
        <a class="top" href="#slidebox">Push me</a>
    </div>
    
    <div id="box">    
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet ...</p></div>
  • 1
  • 2