[jQuery] Re: Modify CSS with jQuery depending on visitors country

2008-11-19 Thread fabio . lazaro
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, >> >

[jQuery] Re: position of element

2008-11-13 Thread fabio . lazaro
Try var pos = $(this).position(); 'this' is a object 2008/11/13 Espen AJ <[EMAIL PROTECTED]> > > I'm trying to get the position of all div-elements with a given class > ("point") with this code: > > $(".point").each( >function() { >var pos = this.position(); >