Rev 424 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 424 | Rev 448 | ||
---|---|---|---|
Line 94... | Line 94... | ||
94 | function test_color_theme() { |
94 | function test_color_theme() { |
95 | g_hue_shift = $("#hshift").val(); |
95 | g_hue_shift = $("#hshift").val(); |
96 | g_sat_shift = $("#sshift").val(); |
96 | g_sat_shift = $("#sshift").val(); |
97 | g_val_shift = $("#vshift").val(); |
97 | g_val_shift = $("#vshift").val(); |
98 | g_invcolors = $("#icolor").val(); |
98 | g_invcolors = $("#icolor").val(); |
99 | changeCSS('oidplus.min.css.php?invert='+$("#icolor").val()+'&h_shift='+$("#hshift").val()/360+'&s_shift='+$("#sshift" ).val()/100+'&v_shift='+$("#vshift" ).val()/100, 0); |
99 | changeCSS('oidplus.min.css.php?theme='+g_activetheme+'&invert='+$("#icolor").val()+'&h_shift='+$("#hshift").val()/360+'&s_shift='+$("#sshift" ).val()/100+'&v_shift='+$("#vshift" ).val()/100, 0); |
100 | } |
100 | } |
101 | 101 | ||
102 | function changeCSS(cssFile, cssLinkIndex) { |
102 | function changeCSS(cssFile, cssLinkIndex) { |
103 | var oldlink = document.getElementsByTagName("link").item(cssLinkIndex); |
103 | var oldlink = document.getElementsByTagName("link").item(cssLinkIndex); |
104 | 104 |