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.

-- 
   -bts
   -This space for rent, but the price is high
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to