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

adding navigation hyperlinks to bookblock to flip to specified pages #21

Closed
00krishna opened this issue Nov 12, 2013 · 4 comments
Closed

Comments

@00krishna
Copy link

Hey Folks. I really love what you have done with Bookblock. I am using it to develop some research notebooks of my own. I was wondering however, if it is possible to insert navigation hyperlinks in the bookblock. So on the first page, I would like to have a menu to indicate "Introduction", "Methods", "Results", etc., just like a table of contents. I would like the user to be able to click on the table of contents and the hyperlink would take the user to the appropriate page. Is there any way to do this in bookblock now?

@00krishna
Copy link
Author

Oh yeah, I also sent an email with this to the codrops website. I was not sure if that was a more appropriate place for this issue.

@botelho
Copy link
Member

botelho commented Nov 12, 2013

Hi,
yes that's possible. We did something similar here: http://tympanus.net/codrops/2012/12/11/fullscreen-pageflip-layout/
Hope it helps.
Cheers

@00krishna
Copy link
Author

Yep, I found it. Thanks so much Botelho. Once again, excellent work.

@denerFernandes
Copy link

Hi,

Using example: http://tympanus.net/Tutorials/FullscreenBookBlock/

In: Page.js include in function initEvents() {....

// jump a menu item
$(document).ready(function(){
var hash = location.hash;

bb.jump( hash.replace( /^#/, "") );
} );

User Url: index.html#1 (Number page).

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

3 participants