PageSourceSearch

https://uefas.act.at/library/scripts/styleswitcher.js

js act.at collected 2026-09-24 18:55:30 UTC 1,542 bytes, 1 lines download raw bytes

1// StyleSwitcher: jqueried styleswitcher function originally provided by lisa schlichting�var StyleSwitcher=�{�	s_id_: "styleswitcher_stylesheet",�	s_selected_: "",�	�	// create and retireve cookie functions�	createCookie: function()�	{  �		var date = new Date();�		date.setTime(date.getTime()+(356*24*60*60*1000));�		var expires = "; expires="+date.toGMTString();�		document.cookie = this.s_id_+"="+this.s_selected_+expires+"; path=/";�  },��	readCookie: function()�	{�  	var nameEQ = this.s_id_ + "=";�  	var ca = document.cookie.split(';');�  	this.s_selected_ = "";�  	for(var i=0;i < ca.length;i++)�  	{�    	var c = ca[i];�    	while (c.charAt(0)==' ') c = c.substring(1,c.length);�    	if (c.indexOf(nameEQ) == 0)�    	{�    		this.s_selected_ = c.substring(nameEQ.length,c.length);�    	};�  	};�	},�	�	// switcher functions�	setActive: function()�	{�		if(!(this.s_selected_==""))�		{�			$("#" + this.s_id_, "head").remove();�			$('<link rel="stylesheet" id="' + this.s_id_ + '" type="text/css" href="library/styles/' + this.s_selected_ + '.css" />').appendTo('head');�		}�	},�	�	activateSwitcher: function()�	{�		$("#fontsizes", "body").show();�		$("#fontsizes", "body").css("visibility", "visible");�		$("a", "#fontsizes", "body").each(function()�		{�			$(this).click(function()�			{�				StyleSwitcher.s_selected_ = $(this).attr("id");�				StyleSwitcher.setActive();�				StyleSwitcher.createCookie();�				return false;�			});�		});�	},�	�	init: function()�	{�		this.readCookie();�		this.setActive();�		this.activateSwitcher();�	}�};

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.