Skip to main content

Bug Tracker

Side navigation

Ticket #3260: test.html


File test.html, 0.8 KB (added by asprouse, August 18, 2008 09:44PM UTC)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>Test</title>
            <script type="text/javascript" src="jquery-1.2.6.js"></script>
            <style type="text/css">
                #box {				
                    padding: 10px;
                }
            </style>
            <script type="text/javascript">
                function show () {
                    $("#box").slideDown("slow",function(){
                        $("#target").focus();
                    });
                }
            </script>
    </head>
    <body>
        <input type="button" value="Click Here" onClick="show()" />
            <div id="box" style="display:none">
                <input type="text" id="target" />
            </div>
    </body>
</html>

Download in other formats:

Original Format