source: ether_statistics/web/resources/js/Wijmo.2.2.2/Wijmo-Complete/development-bundle/samples/editor/customizesimple.html @ 604

Last change on this file since 604 was 604, checked in by vmipsl, 12 years ago

images

File size: 7.8 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head runat="server">
4    <title>C1Editor</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    <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" />
11    <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script>
12    <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
13    <script src="../../external/jquery.mousewheel.min.js" type="text/javascript"></script>
14    <script src="../../external/jquery.wijmo-open.all.2.2.2.min.js" type="text/javascript"></script>
15    <link href="../../themes/wijmo/jquery.wijmo-open.2.2.2.css" rel="stylesheet" type="text/css" />
16    <link href="../../themes/wijmo/jquery.wijmo.wijribbon.css" rel="stylesheet" type="text/css" />
17    <link href="../../themes/wijmo/jquery.wijmo.wijeditor.css" rel="stylesheet" type="text/css" />
18    <script src="../../wijmo/jquery.wijmo.wijribbon.js" type="text/javascript"></script>
19    <script src="../../wijmo/jquery.wijmo.wijeditor.js" type="text/javascript"></script>
20    <script type="text/javascript">
21        $(document).ready(function () {
22            $("#wijeditor").wijeditor({ commandButtonClick: function (e, cmd) {
23                alert(cmd.commandName);
24            }
25            });
26        });   
27    </script>
28</head>
29<body class="demo-single">
30    <div class="container">
31        <div class="header">
32            <h2>
33                Customize Simple</h2>
34        </div>
35        <div class="main demo">
36            <!-- Begin demo markup -->
37            <div id="wijeditor" style="width: 450px; height: 300px;">
38                <div id="ribbon">
39                    <button title="Background Color" class="wijmo-wijribbon-bgcolor" name="backcolor">
40                    </button>
41                    <div title="Font Name" class="wijmo-wijribbon-dropdownbutton">
42                        <button title="Font Name" name="fontname">
43                            Font Name</button>
44                        <ul>
45                            <li>
46                                <input type="radio" id="C1Editor1_ctl74" name="fontname"></input>
47                                <label for="C1Editor1_ctl74" name="fn1" title="Arial">
48                                    Arial</label></li>
49                            <li>
50                                <input type="radio" id="C1Editor1_ctl76" name="fontname"></input>
51                                <label for="C1Editor1_ctl76" name="fn2" title="Courier New">
52                                    Courier New</label></li>
53                            <li>
54                                <input type="radio" id="C1Editor1_ctl78" name="fontname"></input>
55                                <label for="C1Editor1_ctl78" name="fn3" title="Garamond">
56                                    Garamond</label></li>
57                            <li>
58                                <input type="radio" id="C1Editor1_ctl80" name="fontname"></input>
59                                <label for="C1Editor1_ctl80" name="fn4" title="Tahoma">
60                                    Tahoma</label></li>
61                            <li>
62                                <input type="radio" id="C1Editor1_ctl82" name="fontname"></input>
63                                <label for="C1Editor1_ctl82" name="fn5" title="Times New Roman">
64                                    Times New Roman</label></li>
65                            <li>
66                                <input type="radio" id="C1Editor1_ctl84" name="fontname"></input>
67                                <label for="C1Editor1_ctl84" name="fn6" title="Verdana">
68                                    Verdana</label></li>
69                            <li>
70                                <input type="radio" id="C1Editor1_ctl86" name="fontname"></input>
71                                <label for="C1Editor1_ctl86" name="fn7" title="Wingdings">
72                                    Wingdings</label></li>
73                        </ul>
74                    </div>
75                    <input type="checkbox" id="C1Editor1_ctl133"></input>
76                    <label for="C1Editor1_ctl133" name="bold" title="Bold" class="wijmo-wijribbon-bold">
77                    </label>
78                    <input type="checkbox" id="C1Editor1_ctl134"></input>
79                    <label for="C1Editor1_ctl134" name="italic" title="Italic" class="wijmo-wijribbon-italic">
80                    </label>
81                    <input type="checkbox" id="C1Editor1_ctl135"></input>
82                    <label for="C1Editor1_ctl135" name="underline" title="Underline" class="wijmo-wijribbon-underline">
83                    </label>
84                    <input type="checkbox" id="C1Editor1_ctl136"></input>
85                    <label for="C1Editor1_ctl136" name="strike" title="Strikethrough" class="wijmo-wijribbon-strike">
86                    </label>
87                    <input type="checkbox" id="C1Editor1_ctl137"></input>
88                    <label for="C1Editor1_ctl137" name="subscript" title="Subscript" class="wijmo-wijribbon-sub">
89                    </label>
90                    <input type="checkbox" id="C1Editor1_ctl138"></input>
91                    <label for="C1Editor1_ctl138" name="superscript" title="Superscript" class="wijmo-wijribbon-sup">
92                    </label>
93                    <input type="checkbox" id="C1Editor1_ctl999"></input>
94                    <label for="C1Editor1_ctl999" name="blockquote" title="BlockQuote" class="wijmo-wijribbon-blockquote">
95                    </label>
96                    <button title="Insert Code" class="wijmo-wijribbon-code" name="insertcode">
97                    </button>
98                </div>
99                <textarea id="Textarea1">
100
101                        <h1>
102                                Mobile Web</h1>
103                <p>
104                The Mobile Web refers to the use of Internet-connected applications, or browser-based access to the Internet from a mobile device, such as a smartphone or tablet computer, connected to a wireless network.
105</p>
106<p>
107Traditionally, access to the Web has been via fixed-line services. However, the Web is becoming more accessible by portable and wireless devices and in 2008 mobile access to the Internet exceeded desktop computer-based access for the first time (source: International Telecommunications Union, Oct 2009). The shift to mobile Web access has been accelerating with the rise since 2007 of larger multitouch smartphones, and of multitouch tablet computers since 2010. Both platforms provide better Internet access and browser- or application-based user Web experiences than previous generations of mobile devices have done.
108</p>
109<p>
110The distinction between mobile Web applications and native applications is anticipated to become increasingly blurred, as mobile browsers gain direct access to the hardware of mobile devices (including accelerometers and GPS chips), and the speed and abilities of browser-based applications improve. Persistent storage and access to sophisticated user interface graphics functions may further reduce the need for the development of platform-specific native applications.</p>
111                </textarea>
112            </div>
113            <!-- End demo markup -->
114            <div class="demo-options">
115                <!-- Begin options markup -->
116                <!-- End options markup -->
117            </div>
118        </div>
119        <div class="footer demo-description">
120            <p>
121                                The wijeditor widget supports toolbar customization at simple mode.
122            </p>
123        </div>
124    </div>
125</body>
126</html>
Note: See TracBrowser for help on using the repository browser.