1 | <!doctype html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>Ribbon - simple</title> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
---|
7 | <meta name="description" content="%description%" /> |
---|
8 | <meta name="keywords" content="" /> |
---|
9 | <meta name="author" content="ComponentOne" /> |
---|
10 | |
---|
11 | <link href="../../themes/wijmo/jquery.wijmo-open.2.2.2.css" rel="stylesheet" type="text/css" /> |
---|
12 | <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" /> |
---|
13 | <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script> |
---|
14 | <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script> |
---|
15 | <script src="../../external/jquery.wijmo-open.all.2.2.2.min.js" type="text/javascript"></script> |
---|
16 | <script src="../../../../Wijmo-Open/development-bundle/wijmo/jquery.wijmo.wijutil.js" |
---|
17 | type="text/javascript"></script> |
---|
18 | <script src="../../external/globalize.min.js" type="text/javascript"></script> |
---|
19 | <script src="../../external/cultures/globalize.cultures.js" type="text/javascript"></script> |
---|
20 | <link href="../../themes/wijmo/jquery.wijmo.wijribbon.css" rel="stylesheet" type="text/css" /> |
---|
21 | <script src="../../wijmo/jquery.wijmo.wijribbon.js" type="text/javascript"></script> |
---|
22 | |
---|
23 | <script id="scriptInit" type="text/javascript"> |
---|
24 | $(document).ready(function () { |
---|
25 | $("#ribbon").wijribbon({click: function (e, cmd) { |
---|
26 | alert(cmd.commandName); |
---|
27 | } |
---|
28 | }) |
---|
29 | }); |
---|
30 | </script> |
---|
31 | <style type="text/css"> |
---|
32 | #ribbon |
---|
33 | { |
---|
34 | width:400px; |
---|
35 | } |
---|
36 | </style> |
---|
37 | </head> |
---|
38 | <body class="demo-single"> |
---|
39 | <div class="container"> |
---|
40 | <div class="header"> |
---|
41 | <h2> |
---|
42 | Simple</h2> |
---|
43 | </div> |
---|
44 | <div class="main demo"> |
---|
45 | <!-- Begin demo markup --> |
---|
46 | <div id="ribbon"> |
---|
47 | <button title="Background Color" class="wijmo-wijribbon-bgcolor" name="backcolor"> |
---|
48 | </button> |
---|
49 | <div title="Font Name" class="wijmo-wijribbon-dropdownbutton"> |
---|
50 | <button title="Font Name" name="fontname"> |
---|
51 | Font Name</button> |
---|
52 | <ul> |
---|
53 | <li> |
---|
54 | <input type="radio" id="C1Editor1_ctl74" name="fontname"></input> |
---|
55 | <label for="C1Editor1_ctl74" name="fn1" title="Arial"> |
---|
56 | Arial</label></li> |
---|
57 | <li> |
---|
58 | <input type="radio" id="C1Editor1_ctl76" name="fontname"></input> |
---|
59 | <label for="C1Editor1_ctl76" name="fn2" title="Courier New"> |
---|
60 | Courier New</label></li> |
---|
61 | <li> |
---|
62 | <input type="radio" id="C1Editor1_ctl78" name="fontname"></input> |
---|
63 | <label for="C1Editor1_ctl78" name="fn3" title="Garamond"> |
---|
64 | Garamond</label></li> |
---|
65 | <li> |
---|
66 | <input type="radio" id="C1Editor1_ctl80" name="fontname"></input> |
---|
67 | <label for="C1Editor1_ctl80" name="fn4" title="Tahoma"> |
---|
68 | Tahoma</label></li> |
---|
69 | <li> |
---|
70 | <input type="radio" id="C1Editor1_ctl82" name="fontname"></input> |
---|
71 | <label for="C1Editor1_ctl82" name="fn5" title="Times New Roman"> |
---|
72 | Times New Roman</label></li> |
---|
73 | <li> |
---|
74 | <input type="radio" id="C1Editor1_ctl84" name="fontname"></input> |
---|
75 | <label for="C1Editor1_ctl84" name="fn6" title="Verdana"> |
---|
76 | Verdana</label></li> |
---|
77 | <li> |
---|
78 | <input type="radio" id="C1Editor1_ctl86" name="fontname"></input> |
---|
79 | <label for="C1Editor1_ctl86" name="fn7" title="Wingdings"> |
---|
80 | Wingdings</label></li> |
---|
81 | </ul> |
---|
82 | </div> |
---|
83 | <input type="checkbox" id="C1Editor1_ctl133"></input> |
---|
84 | <label for="C1Editor1_ctl133" name="bold" title="Bold" class="wijmo-wijribbon-bold"> |
---|
85 | </label> |
---|
86 | <input type="checkbox" id="C1Editor1_ctl134"></input> |
---|
87 | <label for="C1Editor1_ctl134" name="italic" title="Italic" class="wijmo-wijribbon-italic"> |
---|
88 | </label> |
---|
89 | <input type="checkbox" id="C1Editor1_ctl135"></input> |
---|
90 | <label for="C1Editor1_ctl135" name="underline" title="Underline" class="wijmo-wijribbon-underline"> |
---|
91 | </label> |
---|
92 | <input type="checkbox" id="C1Editor1_ctl136"></input> |
---|
93 | <label for="C1Editor1_ctl136" name="strike" title="Strikethrough" class="wijmo-wijribbon-strike"> |
---|
94 | </label> |
---|
95 | <input type="checkbox" id="C1Editor1_ctl137"></input> |
---|
96 | <label for="C1Editor1_ctl137" name="subscript" title="Subscript" class="wijmo-wijribbon-sub"> |
---|
97 | </label> |
---|
98 | <input type="checkbox" id="C1Editor1_ctl138"></input> |
---|
99 | <label for="C1Editor1_ctl138" name="superscript" title="Superscript" class="wijmo-wijribbon-sup"> |
---|
100 | </label> |
---|
101 | <input type="checkbox" id="C1Editor1_ctl999"></input> |
---|
102 | <label for="C1Editor1_ctl999" name="blockquote" title="BlockQuote" class="wijmo-wijribbon-blockquote"> |
---|
103 | </label> |
---|
104 | <button title="Insert Code" class="wijmo-wijribbon-code" name="insertcode"> |
---|
105 | </button> |
---|
106 | </div> |
---|
107 | <!-- End demo markup --> |
---|
108 | <div class="demo-options"> |
---|
109 | <!-- Begin options markup --> |
---|
110 | <p> |
---|
111 | <div id="log_label"></div> |
---|
112 | </p> |
---|
113 | <!-- End options markup --> |
---|
114 | </div> |
---|
115 | </div> |
---|
116 | <div class="footer demo-description"> |
---|
117 | <p> |
---|
118 | You can provide an alternate, simplified version of the ribbon that takes up less space than the default ribbon UI. |
---|
119 | </p> |
---|
120 | </div> |
---|
121 | </div> |
---|
122 | </body> |
---|
123 | </html> |
---|