PageSourceSearch

https://flowsensor-solution.com/AdminPages/Js/simpla.jquery.configuration.js

js flowsensor-solution.com collected 2026-10-06 02:13:38 UTC 3,763 bytes, 97 lines download raw bytes

1$(document).ready(function () {
2	//Sidebar Accordion Menu:
3	$(document).ready(function(){
4		var tanchu = $(".tanchu")
5	    tanchu.each(function(i) {
6	        $(tanchu[i]).click(function() {
7	            $(".sarch_al").eq(i).slideToggle("slow");
8	        });
9	    });
10	});
11	
12	$("#main-nav li ul").hide(); // Hide all sub menus
13    //$("#main-nav li a.current").parent().find("ul").slideToggle("slow"); // Slide down the current menu item's sub menu
14
15	$("#main-nav li a.nav-top-item").click( // When a top menu item is clicked...
16		function () {
17		    $("#main-nav li ul").hide();
18			$(this).parent().siblings().find("ul").slideUp("normal"); // Slide up all sub menus except the one clicked
19			$(this).next().slideToggle("slow"); // Slide down the clicked sub menu
20			return false;
21		}
22	);
23		
24	$("#main-nav li a.no-submenu").click( // When a menu item with no sub menu is clicked...
25		function () {
26			window.location.href=(this.href); // Just open the link instead of a sub menu
27			return false;
28		}
29	); 
30
31    // Sidebar Accordion Menu Hover Effect:
32	$("#main-nav li .nav-top-item").hover(
33		function () {
34			$(this).stop().animate({ paddingRight: "25px" }, 200);
35		}, 
36		function () {
37			$(this).stop().animate({ paddingRight: "15px" });
38		}
39	);
40
41    //Minimize Content Box
42	$(".content-box-header h3").css({ "cursor":"s-resize" }); // Give the h3 in Content Box Header a different cursor
43	$(".closed-box .content-box-content").hide(); // Hide the content of the header if it has the class "closed"
44	$(".closed-box .content-box-tabs").hide(); // Hide the tabs in the header if it has the class "closed"
45		
46	$(".content-box-header h3").click( // When the h3 is clicked...
47		function () {
48			$(this).parent().next().toggle(); // Toggle the Content Box
49			$(this).parent().parent().toggleClass("closed-box"); // Toggle the class "closed-box" on the content box
50			$(this).parent().find(".content-box-tabs").toggle(); // Toggle the tabs
51		}
52	);
53
54    // Content box tabs:
55	$('.content-box .content-box-content div.tab-content').hide(); // Hide the content divs
56	$('ul.content-box-tabs li a.default-tab').addClass('current'); // Add the class "current" to the default tab
57	$('.content-box-content div.default-tab').show(); // Show the div with class "default-tab"
58		
59	$('.content-box ul.content-box-tabs li a').click( // When a tab is clicked...
60		function() { 
61			$(this).parent().siblings().find("a").removeClass('current'); // Remove "current" class from all tabs
62			$(this).addClass('current'); // Add class "current" to clicked tab
63			var currentTab = $(this).attr('href'); // Set variable "currentTab" to the value of href of clicked tab
64			$(currentTab).siblings().hide(); // Hide all content divs
65			$(currentTab).show(); // Show the content div with the id equal to the id of clicked tab
66			return false; 
67		}
68	);
69
70    //Close button:
71	$(".close").click(
72		function () {
73			$(this).parent().fadeTo(400, 0, function () { // Links with the class "close" will close parent
74				$(this).slideUp(400);
75			});
76			return false;
77		}
78	);
79
80    // Alternating table rows:
81	$('tbody tr:even').addClass("alt-row"); // Add class "alt-row" to even table rows
82
83    // Check all checkboxes when the one in a table head is checked:
84	$('.check-all').click(
85		function(){
86			$(this).parent().parent().parent().parent().find("input[type='checkbox']").attr('checked', $(this).is(':checked'));   
87		}
88	);
89
90    // Initialise Facebox Modal window:
91    //$('a[rel*=modal]').facebox(); // Applies modal window to any link with attribute rel="modal"
92    // Initialise jQuery WYSIWYG:
93    //$(".wysiwyg").wysiwyg(); // Applies WYSIWYG editor to any textarea with the class "wysiwyg"
94});
95  
96  
97 

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.