Mercurial > hg > digilib-old
changeset 969:68709fc53a59
set regions overlay div position to absolute, avoiding scrollbar jumps
author | hertzhaft |
---|---|
date | Wed, 25 Jan 2012 22:01:14 +0100 |
parents | 665fd0e912f9 |
children | 800150ab7b6f |
files | webapp/src/main/webapp/jquery/jquery.digilib.regions.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.regions.js Wed Jan 25 21:40:11 2012 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.regions.js Wed Jan 25 22:01:14 2012 +0100 @@ -75,7 +75,7 @@ var scalerRect = geom.rectangle($scaler); var pt1, pt2; // overlay prevents other elements from reacting to mouse events - var $overlay = $('<div class="digilib-overlay"/>'); + var $overlay = $('<div class="digilib-overlay" style="position:absolute"/>'); $body.append($overlay); bodyRect.adjustDiv($overlay); var $regionDiv = addRegionDiv(data, data.regions.length);