Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center pop-up in window #41 #79

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

itoufo
Copy link

@itoufo itoufo commented Jan 31, 2016

I managed to fix #41
additionally, it is inconvenient that couldn't use with Parallax Scrolling page, because $(window).scrollTop always returns 0.

because this issue caused by the option html, body{ height: 100%} I try not to use it.
and i added an option to show pop-up in the center.

var mutch_w = regex.exec(options.width);
var mutch_h= regex.exec(options.height);

maxWidth = mutch_w? mutch_w[1] * window_width / 100 : options.height;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor fix here: I think this should be options.width

Thanks for these fixes! Without them, this library wouldn't work for us at all. As it is, we'll give it a shot.

@thomasmodeneis
Copy link

Any idea how long this pull will take to be merged ?
Its +1 year almost....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Center pop-up in window
3 participants