forked from jquery/jquery-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault.html
More file actions
79 lines (69 loc) · 2.09 KB
/
default.html
File metadata and controls
79 lines (69 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>default</title>
<meta name="description" content="" />
<meta name="author" content="13" />
<link rel="stylesheet" href="../../themes/base.css" />
<link rel="stylesheet" href="../../lib/sl.css" />
<link rel="stylesheet" href="../../jqui/css/jquery-ui.css" />
<link rel="stylesheet" href="../../themes/default/jquery.ui.override.css" />
<link rel="stylesheet" href="../../themes/default/jquery.ui.editor.css" />
<style type="text/css">
.editor-wrapper{
position:absolute;
top:130px;
left:130px;
width:600px;
}
.editor-wrapper span{
margin: 0px 30px;
}
</style>
<script src="../../jqui/js/jquery.min.js"></script>
<script src="../../jqui/js/jquery-ui.min.js"></script>
<script src="../../external/underscore-min.js"></script>
<script src="../../external/underscore.string.min.js"></script>
<script src="../../external/modernizr.js"></script>
<script src="../../core.js"></script>
<script src="../../lib/regx.js"></script>
<script src="../../lib/sl.js"></script>
<script src="../../lib/uihelper.js"></script>
<script src="../../ui/jquery.ya.editor0.js"></script>
<script>
jQuery(function($) {
$( ".edit-text0" ).editor0({
advancedTheme:{
shadow:false,
corner:false
},
handlerSelector:'.edit-h'
});
$( ".edit-text1" ).editor0({
advancedTheme:{
shadow:false,
corner:false
}
});
$( ".edit-text2" ).editor0({
advancedTheme:{
shadow:true,
corner:true
},
editType:'textfield'
});
});
</script>
</head>
<body>
<div class="editor-wrapper">
<span><span class="edit-text0" edittype="textfield">测试</span><a href="#" class="edit-h">编辑</a></span>
<span class="edit-text1" edittype="textarea">测试测试测试</span>
<span class="edit-text2">测试测试测试测试测试测试</span>
</div>
</body>
</html>