Orientation on specific pages
Hi, Have searched past issues so apologies if I missed this.
Is there way to enable changes of orientation bit only on certain pages. e.g. I want pages 1-5 to be portrait only and no change when the iPad is rotated but then for page 6 I want use a different background depending on orientation.
I know how to do one way or the other by specifying "orientation" in book.json, just want to know if it's possible to mix this up and specify it on a page level rather than globally.
Thanks.
You could disable it via CSS... Then there should be ne layout adaption.
Hi frranke, Thanks for the quick response. Using the example that you supplu with Laker how would I disable that in the CSS? Sorry for the basic question but any help appreciated. Will close the issue then. Thanks.
Pffuuuuh, that's not that easy, because the styles are separated in a few css's. It depends what you want to disable. Take a look at the modules and at the parts where the @media queries kick in. These are responsible for the layout-adaptions.
cheers
Really? Argh, will see what I can do. Not sure if I explained clearly but basically I just want to disable rotation on certain pages. Thanks again!
yeah, I understood that ;) The rotation of the content is controlled by the CSS (@mediaqueries) ;)
Cool, just checking in case I hadn't explained well.
Ok, I'm looking now and if I find the way will let people know.
Thanks for the quick responses, much appreciated.
Still not managed to get this working so if anyone has any ideas would be very gratefully received! Thanks
Hello,
I'm having the same problem. I can't seem to achieve any orientation but portrait. Is this an iOS 6 issue?