PageSourceSearch

https://www.bustpn.ch/data/Themes/tpn19/js/menu/menu.api.js

js bustpn.ch collected 2026-09-24 20:18:13 UTC 708 bytes, 27 lines download raw bytes

1(function(qs){
2
3	qs.sitemenu = {};
4
5	qs.sitemenu.highlight = function(){
6
7		if(typeof(gobjSessionVar) != "undefined"){
8			if(gobjSessionVar.lngCurrentTopMenuFK > -1){
9				$("nav").find("[data-menuid='" + gobjSessionVar.lngCurrentTopMenuFK + "']").addClass("active");
10				//$("nav .menuid-" + gobjSessionVar.lngCurrentTopMenuFK).addClass("active");
11			}
12			if(gobjSessionVar.lngCurrentMenuFK > -1){
13				$("nav").find("[data-menuid='" + gobjSessionVar.lngCurrentMenuFK + "']").addClass("active");
14			}
15			
16			$(".dph-nav").find("[data-node='" + gobjSessionVar.lngCurrentNodeFK + "']").addClass("active");
17
18		}
19	}
20
21})(qs);
22
23$(document).ready(function(){
24
25	qs.sitemenu.highlight();
26
27});

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.