Mercurial > hg > digilib-old
diff xul/menu.js @ 105:ecee3ff2f4d0 vendor
XUL
Digilib Buttons in chrome
author | engler |
---|---|
date | Tue, 13 May 2003 20:59:47 +0200 |
parents | 7b5d0ff8f93f |
children |
line wrap: on
line diff
--- a/xul/menu.js Mon May 05 18:42:58 2003 +0200 +++ b/xul/menu.js Tue May 13 20:59:47 2003 +0200 @@ -45,16 +45,13 @@ function color_multiply() { - value = prompt("Enter the values you like to multiply with the different color channels.\n\nFormat is R/G/B, where R,G,B are floating numbers bigger than 0."); + value = prompt("Enter the values you like to multiply with the different color channels.\n\nFormat is R/G/B, where R,G,B are floating numbers."); if (value) { values = value.split("/"); if (values.length != 3) alert("Illegal format"); - else if (values[0] < 0) alert("Illegal value for red"); - else if (values[1] < 0) alert("Illegal value for green"); - else if (values[2] < 0) alert("Illegal value for blue"); else window.content.rgbm(value); @@ -236,4 +233,4 @@ // variable containing the contextwindow -var helpWindow = ''; \ No newline at end of file +var helpWindow = '';