equal
deleted
inserted
replaced
437 body.appendChild(blackout); |
437 body.appendChild(blackout); |
438 |
438 |
439 return blackout; |
439 return blackout; |
440 } |
440 } |
441 |
441 |
|
442 /** |
|
443 * Take a div generated by whiteOutElement() and report success using the glossy "check" graphic. Sets the image, then |
|
444 * briefly fades in, then fades out and destroys the box so as to re-allow control over the underlying element |
|
445 */ |
|
446 |
|
447 function whiteOutReportSuccess(whitey) |
|
448 { |
|
449 // fade the status indicator in and then out |
|
450 whitey.style.backgroundImage = 'url(' + scriptPath + '/images/check.png)'; |
|
451 domOpacity(whitey, 60, 80, 500); |
|
452 setTimeout(function() |
|
453 { |
|
454 domOpacity(whitey, 60, 0, 500); |
|
455 }, 750); |
|
456 setTimeout(function() |
|
457 { |
|
458 whitey.parentNode.removeChild(whitey); |
|
459 }, 1250); |
|
460 } |
|
461 |
442 // other DHTML functions |
462 // other DHTML functions |
443 |
463 |
444 function fetch_offset(obj) |
464 function fetch_offset(obj) |
445 { |
465 { |
446 var left_offset = obj.offsetLeft; |
466 var left_offset = obj.offsetLeft; |