[jQuery] Animate children of element?

2009-03-30 Thread Patrick Jarrett
What I have is a simple series of divs, and in the divs I have a few items of content, here's an example: Corporate Responsibility Lorem ipsum dolor sit amet. Sit amo mortus amorte. Now I have CSS tied to the container CSS. So the h3, p, and img

[jQuery] Re: Dealing with Date Comparison

2009-02-05 Thread Patrick Jarrett
There's also a jQuery plugin which already does this. Check out: http://timeago.yarp.com/ On Thu, Feb 5, 2009 at 11:36 AM, Bob O wrote: > > Thank you everyone for the responses > bjorsq your solution worked out great. Thank you for the help. > > > On Feb 4, 5:39 pm, bjorsq wrote: >> To do this

[jQuery] Re: having a problem with ' and strings

2009-02-04 Thread Patrick Jarrett
There is nothing wrong with it, but it's far from perfect. By making the switch you're no longer at risk from 's but now if the string contains any "s you'll have the same problem all over again. Ideally you'd first run a replace on the string you fetch from the other site, replacing all 's with