public/javascripts/yui/dragdrop/dragdrop-debug.js
function () {
            var t, l, dde=document.documentElement, db=document.body;
            if (dde && (dde.scrollTop || dde.scrollLeft)) {
                t = dde.scrollTop;
                l = dde.scrollLeft;
            } else if (db) {
                t = db.scrollTop;
                l = db.scrollLeft;
            } else {
                YAHOO.log("could not get scroll property", "info", "DragDropMgr");
            }
            return { top: t, left: l };
        }
function () {
            var t, l, dde=document.documentElement, db=document.body;
            if (dde && (dde.scrollTop || dde.scrollLeft)) {
                t = dde.scrollTop;
                l = dde.scrollLeft;
            } else if (db) {
                t = db.scrollTop;
                l = db.scrollLeft;
            } else {
                YAHOO.log("could not get scroll property", "info", "DragDropMgr");
            }
            return { top: t, left: l };
        }
function ( ) { var t , l , dde = document . documentElement , db = document . body ; if ( dde && ( dde . scrollTop || dde . scrollLeft ) ) { t = dde . scrollTop ; l = dde . scrollLeft ; } else if ( db ) { t = db . scrollTop ; l = db . scrollLeft ; } else { YAHOO . log ( "could not get scroll property" , "info" , "DragDropMgr" ) ; } return { top : t , left : l } ; }
Returns the current scroll position
@method getScroll
@private
@static
Returns the current scroll position