How to change screen orientation from the block section? Please help

I want a process …When screen orientation is portrait , show the menu and title bar but if orientation is landscape, hide the menu and title bar…How can i accomplish this…Please share ur ideas…Thank u :grinning:

2 posts were merged into an existing topic: [Superpost] Questions about Screen Orientation