This repository was archived by the owner on May 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-195
lines changed Expand file tree Collapse file tree 2 files changed +11
-195
lines changed Original file line number Diff line number Diff line change 1
1
<!-- jQuery Version 1.11.0 -->
2
2
< script src ="{{ "/js/jquery-1.11.0.js" }}"> </ script >
3
3
4
- <!-- Animated Text -->
5
- < script src ="{{ "/js/jquery.teletype.js" }}"> </ script >
6
-
7
4
<!-- Bootstrap Core JavaScript -->
8
5
< script src ="{{ "/js/bootstrap.min.js" }}"> </ script >
9
6
30
27
31
28
</ script >
32
29
33
- <!--
34
30
< script >
35
- $(function ($) {
36
- function initConsole ($button, $console) {
37
- $button.remove();
38
-
39
- var items = $console.attr('title').split(';');
40
- $console.removeAttr('title').teletype({
41
- text: items,
42
- typeDelay: 0,
43
- backDelay: 0,
44
- cursor: '▋',
45
- delay: 0,
46
- preserve: true,
47
- prefix: 'chronix@chronixDB:~$ ',
48
- loop: 1
49
- });
50
- }
51
-
52
- $('#console-server-button').on('click', function () {
53
- initConsole($(this), $("#chronix-server-console"));
54
- });
55
-
56
- $('#console-javafx-button').on('click', function () {
57
- initConsole($(this), $("#chronix-javafx-console"));
58
- });
31
+ $ ( document ) . ready ( function ( ) {
32
+ setInterval ( 'cursorAnimation()' , 800 ) ;
59
33
} ) ;
60
- </script>
61
34
62
- -->
35
+ function cursorAnimation ( ) {
36
+ $ ( '.teletype-cursor' ) . animate ( {
37
+ opacity : 0
38
+ } , 'fast' , 'swing' ) . animate ( {
39
+ opacity : 1
40
+ } , 'fast' , 'swing' ) ;
41
+ }
42
+
43
+ </ script >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments