[jQuery] Re: Can I use a variable to reference object properties?

2008-09-11 Thread Peter Higgins
just use data[myCategory] myCategory = "cheese" data.cheese = "brie"; data[myCategory] == "brie" Brad wrote: > var myCategory; > > If (eating cheese) > myCategory = data.cheese; > If (eating bread) > myCategory = data.bread; > ... > $.each(myCategory, function(i, item) > {

[jQuery] Re: Firefox/css/jquery..

2008-07-02 Thread Peter Higgins
Hmm looks like you have a DNS mishap? [EMAIL PROTECTED]:~$ host www.chillenvillen.com www.chillenvillen.com is an alias for chillenvillen.com. chillenvillen.com has address 68.178.232.100 chillenvillen.com has address 192.168.1.101 ... and here I though you had plagiarized my dev server ;) Rega

[jQuery] Re: Fade out the whole page before loading next page

2008-05-21 Thread Peter Higgins
window.location will wait until the fade is done, being placed as a callback param to the animation. Regards, Peter Higgins Sid wrote: > Hamish, > > Does the window.location wait for the fade animation to complete? I > currently use a setTimeout to load data into a div container after t