View Single Post
Old 05-14-2014, 05:30 PM   #4
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
Well, I took this as a challenge and for the past 2 hours or so I tried every possible javascript event I could find to get it to scroll after the page turned.

I have no idea why it's not working, I have a hunch it's not possible in ePub.

I have basically created a button with onlick event to fire this:
Quote:
window.location = "p02.xhtml#test";
This works perfect in Calibre by the way, for some reason when you view the ePub in iBooks in fixed layout mode this only seems to redirect you to the page in question but not take you to the id.

There might be some iBooks or ePub quirk to get this right, hopefully someone will post it here. :/

This feels a lot like the iPad1 (iBooks 5.1.1) problem with links, it goes to the page but does not focus you on the anchor.

Last edited by odedta; 05-14-2014 at 05:34 PM.
odedta is offline   Reply With Quote