comma causing problems for IE
This commit is contained in:
parent
fccd2d0a94
commit
ae7799284f
1 changed files with 4 additions and 2 deletions
|
|
@ -98,13 +98,14 @@ WebguiColorPicker = function() {
|
|||
hue.setValue(pickerSize - Math.round((hsv["h"] * pickerSize)/360));
|
||||
//picker.setRegionValue(hsv["s"] * pickerSize, pickerSize - Math.round(hsv["v"]*100/pickerSize) );
|
||||
picker.setRegionValue(hsv["s"] * pickerSize, pickerSize - Math.round(hsv["v"]*128/pickerSize) +1);
|
||||
Dom.get("hexval").value = color;
|
||||
},
|
||||
Dom.get("hexval").value = color;
|
||||
}
|
||||
}
|
||||
}();
|
||||
|
||||
YAHOO.util.Event.on(window, "load", WebguiColorPicker.init);
|
||||
|
||||
|
||||
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
|
||||
{
|
||||
for(var i=0; i<document.images.length; i++)
|
||||
|
|
@ -133,3 +134,4 @@ function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or high
|
|||
if (navigator.appName == 'Microsoft Internet Explorer') {
|
||||
YAHOO.util.Event.addListener(window, "load", correctPNG);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue