Hello 1TC,
I can trap for the orientation from the Screen 1. the newOrientation value for portrait is 0 (maybe 180 for upside down portrait, I didn’t try that one) and -90 and 90 for left landscape and right landscape.
My real question is I have widgets named ‘m1-screen1-btncalc1’, ‘m1-screen1-btncalc2’, … When I switch to the landscape screen which is a different .mobi file for screen2, what do I name my widgets? Can they have the same names as Screen1?
All my javascript/jquery stuff loads with the first screen, so when I switch to the second screen what happens. Is that still resident? If so, then I could name the widgets on the second screen the same as on screen1 and then would a push on the calculator key ‘1’ call the function for that button and execute it as if the first page would have done?
Seems like a lot of work to switch to another screen. I may switch to tabs.
Thanks for your interest in my problem.
wildwex