Page 1 of 1
Mobile device navigation
Posted: Wed Feb 02, 2011 3:58 pm
by cbrent
Is there a way to detect when Atrium is being access by a mobile device? I would like to redirect mobile users to a specific menu.
Thanks,
Re: Mobile device navigation
Posted: Tue Feb 08, 2011 1:28 pm
by David
There is not a way to detect this in Atrium and show a different menu. A Profound UI/Atrium installation has only 1 set of menu files that it can load from.
That being said, you could set up an HTML page that does the detection and then redirects the user to 1 Profound UI/Atrium installation or another. The 2 installations could have different menu files.
You can do the detection with a bit of a JavaScript code like this:
Code: Select all
if ('ontouchstart' in window) {
// touch device
}