Last change
on this file since 24245 was 24245, checked in by sjb48, 13 years ago |
Oran code for supporting format changes to document.
|
-
Property svn:executable
set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | <!doctype html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <title>jQuery UI Button - Default demo</title>
|
---|
5 | <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
|
---|
6 | <script type="text/javascript" src="../../jquery-1.4.1.js"></script>
|
---|
7 | <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
|
---|
8 | <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
|
---|
9 | <script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
|
---|
10 | <link type="text/css" href="../demos.css" rel="stylesheet" />
|
---|
11 | <script type="text/javascript">
|
---|
12 | $(function() {
|
---|
13 | $("#rerun").button().click(function() {
|
---|
14 | alert("Running the last action");
|
---|
15 | })
|
---|
16 | .next()
|
---|
17 | .button({
|
---|
18 | text: false,
|
---|
19 | icons: {
|
---|
20 | primary: "ui-icon-triangle-1-s"
|
---|
21 | }
|
---|
22 | })
|
---|
23 | .click(function() {
|
---|
24 | alert("Could display a menu to select an action");
|
---|
25 | })
|
---|
26 | .parent()
|
---|
27 | .buttonset();
|
---|
28 | });
|
---|
29 | </script>
|
---|
30 | <style>
|
---|
31 |
|
---|
32 | </style>
|
---|
33 | </head>
|
---|
34 | <body>
|
---|
35 |
|
---|
36 | <div class="demo">
|
---|
37 |
|
---|
38 | <div>
|
---|
39 | <button id="rerun">Run last action</button>
|
---|
40 | <button id="select">Select an action</button>
|
---|
41 | </div>
|
---|
42 |
|
---|
43 | </div><!-- End demo -->
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 | <div class="demo-description">
|
---|
48 |
|
---|
49 | <p>An example of a split button built with two buttons: A plan button with just text, one with only a primary icon
|
---|
50 | and no text. Both are grouped together in a set.</p>
|
---|
51 |
|
---|
52 | </div><!-- End demo-description -->
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 | </body>
|
---|
57 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.