On 03/02/2013 11:30 AM, Beauregard T. Shagnasty wrote:
WaltS wrote:
Rick Merrill wrote:
Geoff Welsh wrote:
Rick Merrill wrote:
How do I get SM & my webpage to detect whether the user
client/browser is a mobile phone and display a different URL?
Thanks in advance...
You are a user, SM contains a browser on a device you could/would/are
using.
However, using CSS, a web page can display differently to a browser on
a mobile phone, vs a browser on a regular computer.
That's a question for a CSS group, not SM users/designers.
GW
Ok, (one has to start somewhere)
So where is a good CSS group?
comp.infosystems.www.authoring.stylesheets
That's the group I would suggest for CSS questions as well. However, the
original question is how to detect the User Agent. Only a scripting
language, such as PHP, could do that. For example, the value of:
$ua = $_SERVER["HTTP_USER_AGENT"];
..followed by a switch or a if/elseif/endif type construct to set a header
redirect. HTML and CSS aren't programmable to be able to identify a UA.
The original question is a bit confusing to me.
I understand the web page part, but why would the OP want SeaMonkey to
detect whether the client/browser is a mobile phone.
--
Fedora 18.0 (64-bit) KDE 4.9.5
Thunderbird Daily
If we burn in hell, do we freeze in heaven?
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey