equal
deleted
inserted
replaced
485 { |
485 { |
486 window.location = makeUrlNS('Special', 'Logout/' + title); |
486 window.location = makeUrlNS('Special', 'Logout/' + title); |
487 } |
487 } |
488 } |
488 } |
489 |
489 |
|
490 function whiteOutElement(el) |
|
491 { |
|
492 var top = $(el).Top(); |
|
493 var left = $(el).Left(); |
|
494 var width = $(el).Width(); |
|
495 var height = $(el).Height(); |
|
496 |
|
497 var blackout = document.createElement('div'); |
|
498 blackout.style.position = 'absolute'; |
|
499 blackout.style.top = top + 'px'; |
|
500 blackout.style.left = left + 'px'; |
|
501 blackout.style.width = width + 'px'; |
|
502 blackout.style.height = height + 'px'; |
|
503 |
|
504 blackout.style.backgroundColor = '#FFFFFF'; |
|
505 domObjChangeOpac(60, blackout); |
|
506 blackout.style.backgroundImage = 'url(' + scriptPath + '/includes/clientside/tinymce/themes/advanced/skins/default/img/progress.gif)'; |
|
507 blackout.style.backgroundPosition = 'center center'; |
|
508 blackout.style.backgroundRepeat = 'no-repeat'; |
|
509 blackout.style.zIndex = getHighestZ() + 2; |
|
510 |
|
511 var body = document.getElementsByTagName('body')[0]; |
|
512 body.appendChild(blackout); |
|
513 |
|
514 return blackout; |
|
515 } |
|
516 |