Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 603 → Rev 604

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