[jQuery] wait for function to complete before continuing loop

2008-04-15 Thread sweetL
Ok. I think the best way to explain this will be by an example. This is pseudo code to a degree. $.each(data, function(i,item){ myFunction() }); Now. 'data' is from a json call. this works. 'myFunction' does all sorts of stuff. It adds an li, then populates it with a bunch of stuff fro

[jQuery] Wait for custom function to complete before continuing...

2008-04-15 Thread sweetL
Ok. I think the best way to explain this will be by an example. This is pseudo code to a degree. $.each(data, function(i,item){ myFunction() }); Now. 'data' is from a json call. this works. 'myFunction' does all sorts of stuff. It adds an li, then populates it with a bunch of stuff fro

[jQuery] Wait for custom function to complete before continuing...

2008-04-15 Thread sweetL
Ok. I think the best way to explain this will be by an example. This is pseudo code to a degree. $.each(data, function(i,item){ myFunction() }); Now. 'data' is from a json call. this works. 'myFunction' does all sorts of stuff. It adds an li, then populates it with a bunch of stuff fro

[jQuery] Re: attr() fails sometimes.... (using droppable and draggable)

2008-03-27 Thread sweetL
Fixed it anyway Sacked the idea of using custom attributes completely.

[jQuery] Re: iPhoto done in JQuery

2008-03-27 Thread sweetL
Hi There Love it. Sorry to be a pain but if i was to give some constructive criticism... id say that the thumbnail bar on the album slideshow view needs a little easing on the side-to-side animation. Signing up.. S On Mar 27, 8:16 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > wow, t

[jQuery] attr() fails sometimes.... (using droppable and draggable)

2008-03-26 Thread sweetL
{ i tried to make this post once, but it didnt appear!! } I did initially post this over on the jquery UI group, but the concensus is that its not really a ui issue, its a jquery issue... so im posting here. Sorry to just join without introduction, this issue is doing my head in... First off, f

[jQuery] Re: Set src of image in containing div of this div ?

2008-03-26 Thread sweetL
can you post a workable demo somewhere? even if you do a self-contained html file and put it in a pastebin somewhere. On Mar 25, 8:36 pm, elspiko <[EMAIL PROTECTED]> wrote: > Hi, > > I'm fairly new to jQuery so bare with me. I've had a search on the forums, > but if its already been answered i a

[jQuery] ... new posts not working? ...

2008-03-26 Thread sweetL
tried putting up a post twice today with no joy, whats going on?

[jQuery] attr() fails sometimes.... (using droppable and draggable)

2008-03-26 Thread sweetL
I did initially post this over on the jquery UI group, but the concensus is that its not really a ui issue, its a jquery issue... so im posting here. Sorry to just join without introduction, this issue is doing my head in... First off, firefox + firebug is a must, some console.debug'ing going on

[jQuery] Re: Recommendations needed to replicate this flash functionality

2008-03-26 Thread sweetL
How new are you to web developing? XML / Database will be whatever you prefer. Im guessing what you're interested in, is the fade/slide-in effect of the red content box when you click a menu item. You want to be looking at the animate() functionality. http://docs.jquery.com/Effects/animate#par