includes/clientside/static/fat.js
changeset 520 4c16e87cfeae
parent 1 fe660c52c48f
child 582 a38876c0793c
equal deleted inserted replaced
517:c6118b9e13bd 520:4c16e87cfeae
    11 		b = b.toString(16); if (b.length == 1) b = '0' + b;
    11 		b = b.toString(16); if (b.length == 1) b = '0' + b;
    12 		return "#" + r + g + b;
    12 		return "#" + r + g + b;
    13 	},
    13 	},
    14 	fade_all : function ()
    14 	fade_all : function ()
    15 	{
    15 	{
    16 		var a = document.getElementsByTagName("*");
    16 		var a = document.getElementsByTagName("div");
    17 		for (var i = 0; i < a.length; i++) 
    17 		for (var i = 0; i < a.length; i++) 
    18 		{
    18 		{
    19 			var o = a[i];
    19 			var o = a[i];
    20 			var r = /fade-?(\w{3,6})?/.exec(o.className);
    20 			var r = /fade-?(\w{3,6})?/.exec(o.className);
    21 			if (r)
    21 			if (r)