PageSourceSearch

https://sustainablemeal.fi/theme_panel/theme_panel.js

js sustainablemeal.fi collected 2026-10-08 07:13:33 UTC 1,406 bytes, 51 lines download raw bytes

1$(window).load(function(){
2
3	'use strict';
4
5	// Theme Panel Open/Close
6	$( "#theme_panel #theme_panel_button" ).click(function(){
7		$( "#theme_panel" ).toggleClass( "close_panel", "open_panel" );
8		$( "#theme_panel" ).toggleClass( "open_panel", "close_panel" );
9		return false;
10	});
11
12	// Color Skins
13	$('.color_link').click(function(){
14		var title = jQuery(this).attr('title');		
15		jQuery('#changeable_color').attr('href', 'css/colors/' + title + '.css');				
16	  	return false;
17    });	
18
19
20    // Color Skins
21	$('#black_menu').click(function(){
22		$('header').addClass('dark-nav').removeClass('white-nav');
23		jQuery('img.site_logo').attr('src', 'images/logo' + '.png');				
24    });	
25
26    // Color Skins
27	$('#white_menu').click(function(){
28		$('header').addClass('white-nav').removeClass('dark-nav');	
29		jQuery('img.site_logo').attr('src', 'images/logo-dark' + '.png');		
30    });	
31
32
33    // Normal Nav - For only Fulscreen Versions
34	$('#nav_normal').click(function(){
35		$('#navigation').removeClass('nav-from-top');			
36    });	
37
38    // Nav From Top - For only Fulscreen Versions
39	$('#nav_from_top').click(function(){
40		$('#navigation').addClass('nav-from-top');			
41    });
42
43
44    // Nav From Top - For only Fulscreen Versions
45	$('.layout_tone').click(function(){
46		var title = jQuery(this).attr('title');		
47		jQuery('#changeable_tone').attr('href', 'css/' + title + '.css');				
48	  	return false;	
49    });
50
51});

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.