Bug Tracker

Ticket #1515: jquery_test.html

File jquery_test.html, 914 bytes (added by davidserduke, 15 years ago)

attempted to create test case from the description

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3  <head>
4    <title>Tester</title>
5    <style type="text/css">
6      #container { background:yellow; width:200px; display:none; }
7    </style>
8    <script type="text/javascript" src="../jquery.js"></script>
9    <script type="text/javascript">
10      function doSlideDown() {
11        $("div").slideDown();
12      }
13
14      function doSlideUp() {
15        $("div").slideUp();
16      }
17
18      $(function () {
19        $("#slidedown").click(doSlideDown);
20        $("#slideup").click(doSlideUp);
21      });
22    </script>
23  </head>
24  <body>
25    <button id="slidedown">slideDown()</button>
26    <button id="slideup">slideUp()</button>
27    <div id="container">
28      This is an attempt to create the test case that is described in Ticket #1515 since one was not provided.
29    </div>
30  </body>
31</html>