Comments (5)
thank you 👍 it is even more complete because i have made recent updates and havn't released them yet, and they just AWESOME :)
while I would recommend never to change the source code of a file, because when I'll update my code, you'll have to merge my changes with yours, which might be difficult one day, if I change too much. But anyway, for a fast-fix, in the setup
function (look it up) add:
$(document.body)[open? 'addClass' : 'removeClass']('noScrollbar');
and in your CSS set this to your body:
body.noScrollbar{ overflow-y:hidden }
I haven't tested it, but expect it would work for you. (if the scrollbar is indeed on the body element)
from photobox.
I have found where I should add the 1st line of code.
I'm not so sure about the 2nd line of code though. What do you mean by "in your set" ?
ps: hands down for you uber-fast response.
from photobox.
I meant in your CSS file..
from photobox.
Sir, you rock! It worked like a charm from the first try.
ps: don't keep those changes too long in the garage ;)
from photobox.
Glad to have helped!
I am fairly regularly updating this code and it will roll somewhere next week I suppose. cheers!
from photobox.
Related Issues (20)
- Modal doesn't appear HOT 1
- Zooming large pictures with quality loss HOT 1
- JQuery appending but not showing HOT 4
- image gallery - have you seen anything like this HOT 3
- Latest Jquery 3.1.1 HOT 4
- pbOverlay div avoids me click on IE10 HOT 1
- Fix for mobile zoom issues HOT 2
- Thumbs do not swipe on mobile HOT 5
- Mouse use
- The basic example doesn't work. HOT 1
- Image stuck on loading screen HOT 1
- Choose a License HOT 5
- help me to use it
- Photo orientation incorrect. HOT 1
- Trying to get the basics to work - fixed - sample code of page HOT 1
- Preview for huge files failing in Chrome HOT 1
- Can't get it to work on a bootstrap Page HOT 1
- Issue with reactjs ? HOT 3
- Please create a new release
- iphone issue for photobox gallery HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photobox.