798,8 → 798,7 |
|
/** |
* @param {Number|String} imgID |
* @param {boolean} state (optional) |
* A true-value for the mouseover effect, the mouseout effect otherwise. |
* @param {Number} state (optional) |
* @return {boolean} |
* The return value of {@link #setStyleProperty} for setting the |
* borderColor of the image |
814,7 → 813,7 |
|
var me = arguments.callee; |
return jsx.dom.css.setStyleProperty(img, "borderColor", |
(state ? me.clMouseover : me.clMouseout)); |
(state == 0 ? me.clMouseout : me.clMouseover)); |
}; |
jsx.dom.hoverImg.clMouseout = "#000"; |
jsx.dom.hoverImg.clMouseover = "#fff"; |