[jQuery] Dragable Limit

2009-04-10 Thread thertze...@gmail.com
Is there a way to limit the number of divs that can be placed inside my droppable div? I haven't found it on the docs. I'm sure its simple, I just cannot find an answer. Thanks!

[jQuery] Re: jQuery and Javascript timer question

2009-02-01 Thread thertze...@gmail.com
9 at 12:09 PM, thertze...@gmail.com > > wrote: > > > what? > > > That statement checks to see if the element clicked has the class > > of .btn px, I dont know what your saying, the statement there does > > work correctly, its "\$(this).css({ backgroundColor:color

[jQuery] Re: jQuery and Javascript timer question

2009-02-01 Thread thertze...@gmail.com
rdo Tomasi wrote: > are you putting that code inside $(document).ready? > > if ( \$(e.target).is('.btn px') ) is checking if the clicked element > is a element inside .btn, that condition will never be > satisfied, will it? > > On Feb 1, 12:38 pm, "thertze...@

[jQuery] Re: jQuery and Javascript timer question

2009-02-01 Thread thertze...@gmail.com
side, but client side they come out as normal $ On Jan 31, 10:54 pm, brian wrote: > On Sat, Jan 31, 2009 at 11:19 PM, thertze...@gmail.com > > wrote: > > > \$(this).css({ backgroundColor:color }); never seem to fire, as far as > > I know though, its valid jquery javascript.

[jQuery] Re: jQuery and Javascript timer question

2009-01-31 Thread thertze...@gmail.com
Here is the most recent code http://pastie.org/376427 If I could only get "\$(this).css({ backgroundColor:color });" to work, I would be happy? Please help me :D Thanks! On Jan 31, 5:57 pm, "thertze...@gmail.com" wrote: > What I'm trying to do is on cli

[jQuery] Re: jQuery and Javascript timer question

2009-01-31 Thread thertze...@gmail.com
\$(this).css({ backgroundColor:color }); never seem to fire, as far as I know though, its valid jquery javascript... As for the statement above "("input#color_code").val() " is whatever the user selects from the color picker. If anyone is questioning my \$ in my javascript, i have to do it this

[jQuery] Re: jQuery and Javascript timer question

2009-01-31 Thread thertze...@gmail.com
Can someone tell me why my \$(this).css({ backgroundColor:color }); statement isn't changing as soon as the user clicks on a div? On Jan 31, 5:57 pm, "thertze...@gmail.com" wrote: > What I'm trying to do is on click of a div spawn a > "timer" (setTimeout) whi

[jQuery] Re: jQuery and Javascript timer question

2009-01-31 Thread thertze...@gmail.com
ime with client side color changes, and then finally I need to tweet my timeout time. Thank you all for looking! On Jan 31, 5:57 pm, "thertze...@gmail.com" wrote: > What I'm trying to do is on click of a div spawn a > "timer" (setTimeout) which will run while t

[jQuery] jQuery and Javascript timer question

2009-01-31 Thread thertze...@gmail.com
What I'm trying to do is on click of a div spawn a "timer" (setTimeout) which will run while the user is on the page, on completion of the countedown of setTimeout, load a function to do a submit. However in my testing the following code does not wait, and submits the page event right away. Basica