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

iOS 5/4 issues with white gap on left. #8

Open
cheerfuloriole opened this issue Oct 22, 2012 · 0 comments
Open

iOS 5/4 issues with white gap on left. #8

cheerfuloriole opened this issue Oct 22, 2012 · 0 comments

Comments

@cheerfuloriole
Copy link

This is my first time creating an 'issue' on Github. Hopefully I did it right. Here goes...

When clicking a navigation item in the slide menu my main page would slide in. Good. Then I would click a link within the main page which would slide in another page from the right. Great.Then I clicked the back button, to go back to the main page. It would go back...kind of, but there would be a 240px white gap on the left .

On jqm.slidemenu.js I changed...

$(":jqmData(role='page')").css('left', '240px'); 

to

$(":jqmData(role='page')").css('right', '-240px');

and now it works on iOS 5.1 and 4.0.

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

No branches or pull requests

1 participant