Mobile device navigation

Use this board to ask questions or have discussions with other Atrium users.
Post Reply
cbrent
Profound User
Posts: 24
Joined: Tue Oct 12, 2010 1:33 pm
First Name: Clint
Last Name: Brent
Company Name: Invue Security Products
Phone: 704-752-6513 x342
Contact:

Mobile device navigation

Post 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,
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Mobile device navigation

Post 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
}

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests