I have 2 pages in my JQuery Mobile project. I would like Page 1 to be fixed to Portrait and Page 2 to be fixed to Landscape.
Can it be done?
I have 2 pages in my JQuery Mobile project. I would like Page 1 to be fixed to Portrait and Page 2 to be fixed to Landscape.
Can it be done?
when you click on a link to open page then check window.orientation, then change your page accordingly . As well as implement event orientationchange and whenever orientation is changed then open the relevent page.
you can use following to change/ browse to relevent page
$.mobile.changePage("#LandscapePage", { transition: "slide" });
if you need furthur assistance then plz ask