Nintendo DSi Browser: Difference between revisions
m Undo revision 4198 by Nickeilitz (talk) Vandalism? |
Added a working example of vertical mode. |
||
| Line 80: | Line 80: | ||
To active the vertical mode automatically, add one of the following tags between <head></head> : | To active the vertical mode automatically, add one of the following tags between <head></head> : | ||
<meta name="viewport" content="width=device-width" | <meta name="viewport" content="width=device-width"> | ||
<meta name="viewport" content="width=240" | <meta name="viewport" content="width=240"> | ||
Using device-width will adapt the page to the width of other mobile devices. | Using device-width will adapt the page to the width of other mobile devices. | ||
You can test this mode with the following demo page: [http://www. | You can test this mode with the following demo page: [http://www.jsivi.uni.me/ JSiVi] (use DSi or spoof user agent to avoid redirection to PC site) | ||
=== Detect User Agent === | === Detect User Agent === | ||