hide scrollbar in image gallery
This commit is contained in:
parent
291457427e
commit
a31b94af8d
@ -21,6 +21,7 @@ function enlargeImage (filename) {
|
|||||||
galleryImage.fullRes = filename;
|
galleryImage.fullRes = filename;
|
||||||
galleryImage.src = "/compressed/compressed_" + filename;
|
galleryImage.src = "/compressed/compressed_" + filename;
|
||||||
galleryContainer.style.display = "block";
|
galleryContainer.style.display = "block";
|
||||||
|
document.body.style = "overflow:hidden;"
|
||||||
headerImage.style.rotate = "none";
|
headerImage.style.rotate = "none";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -28,6 +29,7 @@ function delGallery () {
|
|||||||
galleryContainer.style.display = "none";
|
galleryContainer.style.display = "none";
|
||||||
galleryImage.src = "";
|
galleryImage.src = "";
|
||||||
headerImage.style.rotate = "-3deg";
|
headerImage.style.rotate = "-3deg";
|
||||||
|
document.body.style = "overflow:auto;"
|
||||||
};
|
};
|
||||||
|
|
||||||
function nextImage () {
|
function nextImage () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user