gridOver.js 373 B

123456789101112131415161718
  1. function mOvr(src,clrOver) {
  2. if (!src.contains(event.fromElement)) {
  3. src.style.cursor = 'hand';
  4. src.bgColor = clrOver;
  5. }
  6. }
  7. function mOut(src,clrIn) {
  8. if (!src.contains(event.toElement)) {
  9. src.style.cursor = 'default';
  10. src.bgColor = clrIn;
  11. }
  12. }
  13. function mClk(src) {
  14. if(event.srcElement.tagName=='TD'){
  15. src.children.tags('A')[0].click();
  16. }
  17. }