PageSourceSearch

https://22rdt.riodetransportes.org.br/templates/UnciastTemplate/html/mod_menu/menu.js

js riodetransportes.org.br collected 2026-10-06 20:36:02 UTC 747 bytes, 25 lines download raw bytes

1jQuery(function() {
2	// var menus = jQuery(".menu-padrao .lista-menu-principal");
3
4	// for(var i = 0 ; i < menus.length ; i++) {
5	// 	var altura_item = jQuery(jQuery(menus[i]).find("li")[0]).height();
6	// 	var qtd_itens = jQuery(menus[i]).find("li").length;
7
8	// 	jQuery(menus[i]).attr("data-altura", altura_item * qtd_itens);
9	// }
10
11	// menus.attr("data-toggle", "closed");
12	// menus.css("height", 0);
13
14	jQuery(".toggle-menu").on("click", function(ev) {
15		var $menu = jQuery(jQuery(this).parent()[0].children[1]);
16
17		if($menu.attr("data-toggle") == "closed") {
18			// $menu.css("height", $menu.attr("data-altura"));
19			$menu.attr("data-toggle", "open");
20		} else {
21			// $menu.css("height", 0);
22			$menu.attr("data-toggle", "closed");
23		}
24	});
25});

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.