Skip to main content

Bug Tracker

Side navigation

Ticket #1515: jquery_test.html


File jquery_test.html, 0.9 KB (added by davidserduke, November 19, 2007 12:19AM UTC)

attempted to create test case from the description

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>Tester</title>
    <style type="text/css">
      #container { background:yellow; width:200px; display:none; }
    </style>
    <script type="text/javascript" src="../jquery.js"></script>
    <script type="text/javascript">
      function doSlideDown() {
        $("div").slideDown();
      }

      function doSlideUp() {
        $("div").slideUp();
      }

      $(function () {
        $("#slidedown").click(doSlideDown);
        $("#slideup").click(doSlideUp);
      });
    </script>
  </head>
  <body>
    <button id="slidedown">slideDown()</button>
    <button id="slideup">slideUp()</button>
    <div id="container">
      This is an attempt to create the test case that is described in Ticket #1515 since one was not provided.
    </div>
  </body>
</html>

Download in other formats:

Original Format