-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (58 loc) · 2.5 KB
/
index.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Pencase outsorce</title>
<link rel="stylesheet" type="text/css" href="css/pencase.css" />
<!-- lib -->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.7.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.json-2.2.js"></script>
<!-- End lib-->
<!-- core -->
<script type="text/javascript" src="js/jquery.pencase.js"></script>
<script type="text/javascript" src="js/jquery.pencase.words.js"></script>
<!-- End core -->
<!-- plugins -->
<!-- header -->
<script type="text/javascript" src="js/plugins/header.js"></script>
<!-- End header -->
<!-- text -->
<script type="text/javascript" src="js/plugins/text.js"></script>
<!-- End text -->
<!-- markdown -->
<script type="text/javascript" src="js/plugins/markdown/parser.js"></script>
<script type="text/javascript" src="js/plugins/markdown/editor.js"></script>
<script type="text/javascript" src="js/plugins/markdown/plugin.js"></script>
<!-- End markdown -->
<!-- nicEdit -->
<script type="text/javascript" src="js/plugins/nicEdit/nicEdit.js"></script>
<script type="text/javascript" src="js/plugins/nicEdit/plugin.js"></script>
<!-- End nicEdit -->
<!-- image -->
<script type="text/javascript" src="js/plugins/image.js"></script>
<!-- End image -->
<!-- video -->
<script type="text/javascript" src="js/plugins/video.js"></script>
<!-- End video -->
<!-- End plugins -->
<script type="text/javascript" src="js/plugins/markdown/markdownParser.js"></script>
<script type="text/javascript" src="js/plugins/markdown/simpleEditor.js"></script>
<script type="text/javascript" src="js/plugins/nicEdit/nicEdit.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<center>
<form action="">
<textarea></textarea>
<br/>
<button type="submit">Отправить</button>
</form>
</center>
<script type="text/javascript">
$('textarea').pencase();
$('form').eq(0).submit(function(){
alert( $('textarea').eq(0).val() );
});
</script>
</body>
</html>