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

Multi-page issue when starting from 2nd page in. #9

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

Multi-page issue when starting from 2nd page in. #9

cheerfuloriole opened this issue Oct 24, 2012 · 0 comments

Comments

@cheerfuloriole
Copy link

Let's say I sent an email to you and it contained a link with a hashtag and you clicked on it.

Example: http://www.mysuperduperwebsite.com/#messageID3432. It loads properly. Great.

There is only one button on this page and it takes you to the main dashboard. You click on it and the main dashboard transitions in. Great.

Now you want to open up the side menu to update your profile. You click the menu button, it slides open, but there is nothing there... no css, no markup...a big white gap of 240px.

This is the page markup for the link I sent you. Notice the a tag with a display:none;.

<div data-role="page" id="messageID3432">
<a href="#message-center"">Go to Main Dashboard</a>

<!-- data-slidemenu must be referenced in this page. -->
<a data-slidemenu="#slidemenu" style="display:none;"></a>

</div>

Now that data-slidemenu is referenced in the page, when you go to the Message Center (or main dashboard) the slide menu will work.

 <div data-role="page" id="message-center">
<!-- The Message Center dashboard. -->

<a href="#" data-slidemenu="#slidemenu" data-slideopen="false" >Open Slide Menu</a>

</div>

It works but as you can see it adds bloat to the page. Any other solution?

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