equal
deleted
inserted
replaced
462 position = document.body.scrollTop; |
462 position = document.body.scrollTop; |
463 } |
463 } |
464 return position; |
464 return position; |
465 } |
465 } |
466 |
466 |
|
467 function setScrollOffset(offset) |
|
468 { |
|
469 window.scroll(0, offset); |
|
470 } |
|
471 |
467 // Function to fade classes info-box, warning-box, error-box, etc. |
472 // Function to fade classes info-box, warning-box, error-box, etc. |
468 |
473 |
469 function fadeInfoBoxes() |
474 function fadeInfoBoxes() |
470 { |
475 { |
471 var divs = new Array(); |
476 var divs = new Array(); |
566 blackout.style.width = width + 'px'; |
571 blackout.style.width = width + 'px'; |
567 blackout.style.height = height + 'px'; |
572 blackout.style.height = height + 'px'; |
568 |
573 |
569 blackout.style.backgroundColor = '#FFFFFF'; |
574 blackout.style.backgroundColor = '#FFFFFF'; |
570 domObjChangeOpac(60, blackout); |
575 domObjChangeOpac(60, blackout); |
571 blackout.style.backgroundImage = 'url(' + scriptPath + '/includes/clientside/tinymce/themes/advanced/skins/default/img/progress.gif)'; |
576 var background = ( $(el).Height() < 48 ) ? 'url(' + scriptPath + '/images/loading.gif)' : 'url(' + scriptPath + '/includes/clientside/tinymce/themes/advanced/skins/default/img/progress.gif)'; |
|
577 blackout.style.backgroundImage = background; |
572 blackout.style.backgroundPosition = 'center center'; |
578 blackout.style.backgroundPosition = 'center center'; |
573 blackout.style.backgroundRepeat = 'no-repeat'; |
579 blackout.style.backgroundRepeat = 'no-repeat'; |
574 blackout.style.zIndex = getHighestZ() + 2; |
580 blackout.style.zIndex = getHighestZ() + 2; |
575 |
581 |
576 var body = document.getElementsByTagName('body')[0]; |
582 var body = document.getElementsByTagName('body')[0]; |