You can get the user IP with PHP, store it in a variable and pass his value
for javascript... Just compare the value and manipulate the elements with
addClass() and removeClass()

2008/11/19 Liam Potter <[EMAIL PROTECTED]>

>
> Better off doing this server side.
>
>
> (antenna) wrote:
>
>> Hi,
>>
>> I'm quite new to jQuery and wondered if this was possible. I need to hide
>> a
>> bit of content on a web page if the visitor is outside of the UK.
>>
>> I'm wondering if jQuery can detect what language the visitors browser is
>> set
>> to (e.g. 'en', 'en-us', 'fr' etc) and then hide the content is the result
>> is
>> not 'en'?
>>
>> Any help would be much appreciated.
>>
>> Thanks!
>>
>>
>
>


-- 
Fábio Lazaro
Web Developer Pleno

Cel.: 11 8919-1007
E-mail: [EMAIL PROTECTED]
Talk: [EMAIL PROTECTED]

Reply via email to