Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
jQuery Mobile
jeroenem
Portrait mode only
in
jQuery Mobile
•
2 years ago
Is there a way to let people only use portraitmode? When they are rotating their screens to landscape, the site/app should still be displayed in portraitmode instead of landscape.
Are there any possibilities to do this?
3
Reply
Replies(5)
nbsp
Re: Portrait mode only
2 years ago
don't have any device to test atm ...sry
but perhaps
$(window).resize( function(e){
e.preventDefault();
});
w
orks?
rmanalan
Re: Portrait mode only
2 years ago
Unfortunately, this won't prevent the browser from rotating the page. Currently, there's no way to tell the browser to turn off auto-rotation ->
http://stackoverflow.com/questions/1207008/how-do-i-lock-the-orientation-to-portrait-mode-in-a-iphone-web-application
Leave a comment on nbsp's reply
israel.va..
Re: Portrait mode only
2 years ago
If you are working on an iOS environment, I have some code in order to do that, when I reach to my home pc, I'll reply to this with the code ;)
Leave a comment on israel.valdez.89's reply
jeroenem
Re: Portrait mode only
2 years ago
Thanks all for the replies.
@
israel.valdez.89
I'm looking forward to have a look into your code.
Leave a comment on jeroenem's reply
tweety_jen
Re: Portrait mode only
6 months ago
Hi,
I am creating a mobile app through jquery mobile for IOS (converting through Phonegap).
I would like follow up in this solution and know, how to make my mobile app only in PORTRAIT mode?
Thanks
Jen
Leave a comment on tweety_jen's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to jeroenem's question
Top
Reply
{"z23488123":[14737000003748386],"z5453061":[14737000002115408],"z5727309":[14737000002113194],"z5702404":[14737000002111074,14737000002116639],"z271889":[14737000002115263]}
Statistics
5
Replies
2321
Views
2
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
landscape orientation: how to restr...