equal
deleted
inserted
replaced
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) |