PageSourceSearch

https://fxboss.firstcitizens.com/app/assets/widgets/content-box/contentbox.js

js firstcitizens.com collected 2026-09-24 21:52:39 UTC 1,574 bytes, 84 lines download raw bytes

1$(document).ready(function(){
2
3    /* Box switch toggle */
4
5  $('.switch-button').click(function(ev){
6
7    ev.preventDefault();
8
9    var switchParent = $(this).attr('switch-parent');
10    var switchTarget = $(this).attr('switch-target');
11
12    $(switchParent).slideToggle();
13    $(switchTarget).slideToggle();
14
15  });
16
17    /* Content Box Show/Hide Buttons */
18
19  $('.hidden-button').hover(function(){
20
21    $(".btn-hide", this).fadeIn('fast');
22
23  },function(){
24
25    $(".btn-hide", this).fadeOut('normal');
26
27  });
28
29
30  /* Content Box Toggle */
31
32  $('.toggle-button').click(function(ev) {
33
34    ev.preventDefault();
35
36    $(".glyph-icon", this).toggleClass("icon-rotate-180");
37
38    $(this).parents(".content-box:first").find(".content-box-wrapper").slideToggle();
39
40  });
41
42  /* Content Box Remove */
43
44  $('.remove-button').click(function(ev){
45
46      ev.preventDefault();
47
48      var animationEFFECT = $(this).attr('data-animation');
49
50      var animationTARGET = $(this).parents(".content-box:first");
51
52      $(animationTARGET).addClass('animated');
53      $(animationTARGET).addClass(animationEFFECT);
54
55      var wait = window.setTimeout( function(){
56        $(animationTARGET).slideUp()},
57        500
58      );
59
60      /* Demo show removed content box */
61
62      var wait2 = window.setTimeout( function(){
63        $(animationTARGET).removeClass(animationEFFECT).fadeIn()},
64        2500
65      );
66
67  });
68
69  /* Close Info Boxes */
70
71  $(function() { "use strict";
72
73    $(".infobox-close").click(function(ev){
74
75      ev.preventDefault();
76
77      $(this).parent().fadeOut();
78
79    });
80
81
82  });
83
84});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.