Table of Contents jQuery Plugin

https://tscanlin.github.io/tocbot/
https://github.com/tscanlin/tocbot

https://github.com/matthewkastor/html-table-of-contents

https://github.com/ndabas/toc

 http://blog.unicode.org/2021/09/announcing-unicode-standard-version-140.html  unicode 14

https://github.com/jgallen23/toc

projects.jga.me/toc/

https://gojs.net/latest/samples/ 组织人员架框图

 https://github.com/idiotWu/jQuery-TOC/

 https://github.com/NorthwoodsSoftware

https://github.com/dabeng/OrgChart

https://github.com/Hoogkamer/vue-org-chart

https://github.com/Aymkdn/OrgChart-JS-Sharepoint

https://webdevtrick.com/demos/table-of-contents/#new-horizons-0

 https://www.codeproject.com/Articles/895771/Auto-TOC-Generation-and-Header-Numbering-Revision

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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<!doctype html>
<html>
<head>
<meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="geovindu,Geovin Du, 涂聚文">
    <meta name="author" content="geovindu">
    <title>WowBook, a flipbook jQuery plugin Preview - create table of contents</title>
    <script>
        //https://0.s3.envato.com/files/220302162/index.html
        //https://previews.customer.envatousercontent.com/files/308385206/index.html
        //https://github.com/yapro/wowbook
        //Demo: http://3.s3.envato.com/files/89504756/index.html
        //Documentation: http://www.neuearbeit.de/wow_book_plugin/documentation/
        // Break out iframe on iOS cause safari expand iframe to fit the content, thus making
        // the lightbox bigger than the browser window.
        // We need to check for MSStream because Microsoft injected the word iPhone in IE11's userAgent therefore we need to exclude it.
        var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
        if (iOS && top.location!= self.location) {
            top.location = self.location.href;
        }
    </script>
    <!-- Bootstrap Core CSS -->
    <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
    <!-- jQuery -->
    <script src="js/jquery-3.6.0.js"></script>
    <!-- Custom Fonts -->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css" type="text/css">
 
    <!-- Plugin CSS -->
    <link rel="stylesheet" href="css/animate.min.css" type="text/css">
 
    <!-- Custom CSS -->
    <link rel="stylesheet" href="css/creative.css" type="text/css">
 
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
 
</head>
 
<body id="page-top">
         
        <!-- <div id="book2-trigger">         
                <h3>打开PDF</h3>
            </div>
           -->
     
<div>
     
 <div id='book2'></div>
     
</div>
     
<style>
        .hidden-FIXME{
            display: none;
        }
        #portfolio {
            display: none;
        }
        header { display: none; }
        #contact { display: none; }
        #about {
            display: none;
        }
 
        .navbar-header {
            width: 100% !important;
        }
        .navbar-brand {
            padding-right: 0;
            font-size: 14px !important;
        }
        #nav-buy-now {
            color: black;
            float: right;
            font-size: 14px;
            font-weight: 700;
            margin-right: -10px;
        }
        @media (min-width: 768px) {
            #nav-buy-now {
                margin-right: 0px;
            }
        }
        #bs-example-navbar-collapse-1 {
            display: none;
        }
 
        .wowbook {
            font-family: "Open Sans","Helvetica Neue",Arial,sans-serif;
        }
        .wowbook-page-content {
            padding: 1.5em;
        }
        .wowbook ul {
            padding-left: 1em;
        }
        .book-thumb {
            height: 150px;
            box-shadow: 0 0 3px rgba(0, 0, 0, 0.5)
        }
 
        #book1-trigger, #book2-trigger, #book3-trigger {
            cursor: pointer;
        }
        #book1-trigger:hover, #book2-trigger:hover, #book3-trigger:hover {
            background: #f8f8f8;
        }
 
        .wowbook-lightbox > .wowbook-close {
            background: transparent !important;
            border: none !important;
            color: #222 !important;
            font-size: 2.5em;
        }
        .wowbook-lightbox > .wowbook-close:hover {
            background: #444 !important;
            color: white !important;
            border-radius: 3px;
        }
 
 
        .lightbox-images1 .wowbook-book-container {
            background: #6d6b92; /* Old browsers */
            background: -moz-radial-gradient(center, ellipse cover, #ffffff 0%, #6d6b92 100%); /* FF3.6-15 */
            background: -webkit-radial-gradient(center, ellipse cover, #ffffff 0%,#6d6b92 100%); /* Chrome10-25,Safari5.1-6 */
            background: radial-gradient(ellipse at center, #ffffff 0%,#6d6b92 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        }
        .lightbox-images1 > .wowbook-close,
        .lightbox-images2 > .wowbook-close {
            color: #ccc !important;
        }
        .lightbox-images2 .wowbook-book-container {
            background: #1E2831; /* Old browsers */
            background: -moz-radial-gradient(center, ellipse cover, #ffffff 0%, #1E2831 100%); /* FF3.6-15 */
            background: -webkit-radial-gradient(center, ellipse cover, #ffffff 0%,#1E2831 100%); /* Chrome10-25,Safari5.1-6 */
            background: radial-gradient(ellipse at center, #ffffff 0%,#1E2831 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        }
 
 
 
        .lightbox-pdf  .wowbook-book-container {
            background: #e5e5e5 url(./img/bg-lightbox-pdf.png); /* Old browsers */
            background: #e5e5e5 -moz-radial-gradient(center, ellipse cover, #ffffff 20%, #bbbbbb 100%); /* FF3.6-15 */
            background: #e5e5e5 -webkit-radial-gradient(center, ellipse cover, #ffffff 20%,#bbbbbb 100%); /* Chrome10-25,Safari5.1-6 */
            background: #e5e5e5 radial-gradient(ellipse at center, #ffffff 20%,#bbbbbb 100%); /* W3C, IE10+, FF16+, Chrome26+,Opera12+, Safari7+*/
        }
 
 
        .lightbox-html  .wowbook-book-container {
            background: url(img/book_html/wood.jpg);
        }
        .lightbox-html .wowbook-toolbar {
            margin-top: 1em; /* FIXME */
            box-sizing: content-box !important;
        }
 
        .lightbox-html .wowbook-controls {
            border-radius: 6px;
            width: auto;
        }
 
        .lightbox-html.wowbook-mobile .wowbook-toolbar {
            margin: 0;
        }
 
        .lightbox-html.wowbook-mobile .wowbook-controls {
            border-radius: 0;
            width: 100%;
        }
 
 
/*      .lightbox-html .wowbook-controls {
            border-radius: 6px;
            width: auto;
            background: none;
            color: rgba(60, 20, 20, 0.8);
            text-shadow: 0 1px 0 #fff;
            box-shadow: none;
        }
        .lightbox-html .wowbook-control:hover {
            background: none;
            color: white;
            text-shadow: 0 1px 0 #fff, 0 0px 5px rgba(60, 20, 20, 1);
            text-shadow: 0 1px 0 #fff, 0 0px 3px #fff;
        }
*/
        hr {
            max-width: 450px;
        }
    </style>
 
 
 
 
    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.min.js"></script>
 
    <!-- Plugin JavaScript -->
    <script src="js/jquery.easing.min.js"></script>
    <script src="js/jquery.fittext.js"></script>
    <script src="js/wow.min.js"></script>
 
    <!-- Custom Theme JavaScript -->
    <script src="js/creative.js"></script>
 
    <link rel="stylesheet" href="./wow_book/wow_book.css" type="text/css" />
    <style>
        .wowbook-right .wowbook-gutter-shadow {
            background-image: url("./img/page_right_background.png");
            background-position: 0 0;
            width: 75px;
        }
        .wowbook-left .wowbook-gutter-shadow {
            background-image: url("./img/page_left_background.png");
            opacity: 0.5;
            width: 60px;
        }
        .wowbook-control-currentPage {
            font-family: "Segoe UI",Helvetica,Arial,sans-serif;
        }
    </style>
    <script type="text/javascript" src="./wow_book/pdf.combined.min.js"></script>
    <script type="text/javascript" src="./wow_book/wow_book.min.js"></script>
    <script type="text/javascript">
        $(function(){
        //$(document).ready(function() {
 
            function fullscreenErrorHandler(){
                if (self!=top) return "The frame is blocking full screen mode. Click on 'remove frame' button above and try to go full screen again."
            }
 
             
                            //加载时
                function load() {
                    //alert('function loaded');
                    buildBook("#book2");
                }
                window.onload = load;
             
             
            // imageBook = ["1", "8"][ Math.floor(Math.random()*2)];
            // imageBookPath = "./img/magazine_template_0"+imageBook+"/";
            // $("#book1-trigger .book-thumb").attr("src", imageBookPath+"image_000.jpg")
                       //显示目录  
            var tableOfContents = [
                ["Eiffel Tower", 0],
                ["Breakfast", 1],
                ["Snowy Day", 3],
                ["Mountains", 5],
            ];
             
 
             
    
             //大小确定?缩放?
            var optionsBook2 = {
            //$("#book2").wowBook({  
                height   : 500//1024  pdf无效
                ,width    : 725*2
                // ,maxWidth : 800
                // ,maxHeight : 400
                ,pageNumbers: false
 
                ,pdf: "./img/aesop_fables/2.pdf" //2.pdf
                ,pdfFind: true
                ,pdfTextSelectable: true
                ,lightbox : "#book2-trigger"
                ,lightboxClass : "lightbox-pdf"
                ,centeredWhenClosed : true
                ,hardcovers : true
                ,curl: false
                ,displayToc: true //加载时显示目录
                //,htmlfind:true//find,
                ,toc: tableOfContents
                ,toolbar: "lastLeft, left, currentPage, right, lastRight, find, toc, zoomin, zoomout, download, flipsound, fullscreen, thumbnails"
                ,thumbnailsPosition : 'bottom'
                ,responsiveHandleWidth : 50            
                ,onFullscreenError: fullscreenErrorHandler
            }
            //);
             
           
            var books = {               
                "#book2" : optionsBook2              
            };
             
            $("#book2-trigger").on("click",function(){
                buildBook( "#"+this.id.replace("-trigger", "") );
            })
 
            function buildBook( elem ){
                var book=$.wowBook(elem);
                if (!book) {
                    $(elem).wowBook( books[elem] );
                    book=$.wowBook(elem);
                    console.log(book);
                }
                // book.opts.onHideLightbox = function(){
                //     setTimeout( function(){ book.destroy(); }, 1000);
                // }
                book.showLightbox();
            }
 
 
        });
    </script>
</body>
</html>

  

DISM /Online /Cleanup-image /ScanHealth
//这一条指令用来扫描全部系统文件&#xff0c;并扫描计算机中映像文件与官方系统不一致的情况。

DISM /Online /Cleanup-image /RestoreHealth
//计算机必须联网&#xff0c;这种命令的好处在于可以在修复时&#xff0c;系统未损坏部分可以继续运行

 

posted @   ®Geovin Du Dream Park™  阅读(31)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
历史上的今天:
2016-09-18 csharp: ODP.NET,System.Data.OracleClient(.net 4.0) and System.Data.OleDb读取Oracle g 11.2.0的区别
2015-09-18 sql:Oracle11g 表,视图,存储过程结构查询
2015-09-18 sql:MySQL 6.7 表,视图,存储过程结构查询
2010-09-18 csharp:DataRelation 对象访问相关数据表中的记录
< 2025年3月 >
23 24 25 26 27 28 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 1 2 3 4 5
点击右上角即可分享
微信分享提示