Laker-Compendium icon indicating copy to clipboard operation
Laker-Compendium copied to clipboard

Link table of contents appearing to an object

Open k8fisher opened this issue 14 years ago • 9 comments

Hi what method do I need to call to trigger the slide out of the table of contents bar at the bottom. Its linked to the gesture of "double tap" at the moment.

k8fisher avatar Nov 03 '11 13:11 k8fisher

do you want to call it from the HTML? Sorry thats not possible (at least not with baker 2.0... Dont know about baker 3.0)

ffranke avatar Nov 03 '11 15:11 ffranke

Hi Florian, heck Im glad I asked I thought I was being a bit obtuse becauseI couldnt get it to work. Somewhat relieved and not at the same time. I guess I could show / hide a layer containing the contents of toc instead. shame it wont look half as nice :/

k8fisher avatar Nov 03 '11 15:11 k8fisher

Yeah but with ios5 and the new ability for position:fixed it could be actually possible to do!

ffranke avatar Nov 03 '11 15:11 ffranke

Cool! Id avoided upgrading to 5 as everyone seemed to be saying it caused more issues than I was fixing. I guess people dont like change :)

k8fisher avatar Nov 03 '11 15:11 k8fisher

? Its working great! ;)

ffranke avatar Nov 03 '11 15:11 ffranke

Cool, so Im going to go for the 60 million dollar question. Installing 5 etc and recompiling shouldnt seem so scarey? I just wouldnt know how to switch back to xcode 4 is all.

k8fisher avatar Nov 05 '11 00:11 k8fisher

it's not a big deal. All my Laker-Apps work just fine under ios5 ;)

ffranke avatar Nov 05 '11 10:11 ffranke

Might i ask, Ive been testing experimenting with toc appearing through javascript just before I kick off to ios5. How do you focus the user's scrolling (through the table of contents) on the table of contents. I seem to get a mixfure of the ipad detecting me trying to scroll the table of contents and trying to turn the page.

k8fisher avatar Nov 07 '11 07:11 k8fisher

I didn't try it out, but isn't there a new webkit overflow scroll etc css, which enables native looking scrolling on div elements? Maybe that's not interferring with the Baker-Page-Turning.

cheers

ffranke avatar Nov 07 '11 09:11 ffranke