-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
64 lines (56 loc) · 2.02 KB
/
home.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
<!DOCTYPE html>
<html>
<head>
<title>CKEDITOR</title>
<link rel="stylesheet" type="text/css" href="adapters/font-awesome-4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="adapters/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="main.css">
<script src="ckeditor.js"></script>
<script src="adapters/jquery-2.1.4.min.js"></script>
<script src="adapters/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<ul class="nav nav-tabs" role="tablist">
<li><a href="#contact_01" data-toggle="tab">SECTION 1</a><span><i class="fa fa-close"></i></span>
</li>
<li><a href="#contact_02" data-toggle="tab">SECTION 2</a><span><i class="fa fa-close"></i></span>
</li>
<li><a href="#contact_03" data-toggle="tab">SECTION 3</a><span><i class="fa fa-close"></i></span>
</li>
<li style="background-color: transparent; width: 50px;"><a href="#" class="add-contact" style="background-color: transparent; background: transparent;"><i class="fa fa-plus"></i></a>
</li>
</ul>
<div class="tab-content">
<div id="contact_01" class="tab-pane fade in active">
<form>
<textarea name="editor1" id="editor1" rows="10" cols="80">
</textarea>
</form>
</div>
<div id="contact_02" class="tab-pane fade">
<form>
<textarea name="editor2" id="editor2" rows="10" cols="80">
</textarea>
</form>
</div>
<div id="contact_03" class="tab-pane fade">
<form>
<textarea name="editor3" id="editor3" rows="10" cols="80">
</textarea>
</form>
</div>
</div>
</div>
<script type="text/javascript">
CKEDITOR.replace('editor1');
//var data = CKEDITOR.instances.editor1.getData();
//console.log(data);
CKEDITOR.replace('editor2');
CKEDITOR.replace('editor3');
//var id = $(".nav-tabs").children().length;
//console.log(id);
</script>
<script src="main.js"></script>
</body>
</html>