[jQuery] Re: div contains -> select div but NOT li

2009-04-28 Thread gostbuster
}); and it WORKS ! but this way is "makeshift" (=bricolage(??), not a really good and efficient way to do?). ... On 28 avr, 09:37, gostbuster wrote: > Hi everyone, > > I just try this : > > $('#plan').click(function(e){ &g

[jQuery] Re: div contains -> select div but NOT li

2009-04-28 Thread gostbuster
and e.preventDefault > () >   }); > > cheers, > - ricardo > > On Apr 27, 10:26 am, Remon Oldenbeuving > wrote: > > > It looks obvious, but aint working for me. > > > On Mon, Apr 27, 2009 at 3:16 PM, Mauricio (Maujor) Samy Silva < > > &g

[jQuery] Re: div contains -> select div but NOT li

2009-04-28 Thread gostbuster
i').click(function(e){ //or #plan > * >      return false; >      //returning false calls e.stopPropagation() and e.preventDefault > () >   }); > > cheers, > - ricardo > > On Apr 27, 10:26 am, Remon Oldenbeuving > wrote: > > > It looks obvious, but aint w

[jQuery] Re: limit drag to a zone

2009-04-28 Thread gostbuster
gt; > http://jqueryui.com/demos/draggable/#constrain-movement > > On Mon, Apr 27, 2009 at 6:27 PM, gostbuster wrote: > > > > > Hi everybody, > > > I was wondering if there was a way to limit a drag from a zone : > > > for example I have a div zone with eleme

[jQuery] limit drag to a zone

2009-04-27 Thread gostbuster
Hi everybody, I was wondering if there was a way to limit a drag from a zone : for example I have a div zone with elements inside : and I don't want to be able to drag the element out from the div. I read the doc but didn't see anything Thank you very much

[jQuery] Re: div contains -> select div but NOT li

2009-04-27 Thread gostbuster
!== "liobject"){ //You will have to check whats the real target > for a list item >   //here your code >  } > > }); > > On Mon, Apr 27, 2009 at 2:08 PM, gostbuster wrote: > > > > > Okay I'll try to explain better. > > > Imagine an image,

[jQuery] Re: div contains -> select div but NOT li

2009-04-27 Thread gostbuster
he way your question is > written " $("plan"). //do something " would work > gostbuster wrote:Hi everyone, I would appreciate some help with what I wanna > do. I explain my problem : I want to do a map-like: It means a div with > background images, and some elements o

[jQuery] div contains -> select div but NOT li

2009-04-27 Thread gostbuster
Hi everyone, I would appreciate some help with what I wanna do. I explain my problem : I want to do a map-like: It means a div with background images, and some elements on it (a bit like in google map : you have the map in background, and stuff you can click over it. well i have this code :

[jQuery] Re: select only the father

2009-04-22 Thread gostbuster
thanks a lot again. On 22 avr, 13:47, Daniel wrote: > I'm very glad! > > On Apr 22, 6:38 am, gostbuster wrote: > > > Thank you very much! it works ! > > > thanks a lot ! > > > On 22 avr, 13:31, Daniel wrote: > > > > try this..

[jQuery] Re: select only the father

2009-04-22 Thread gostbuster
}, function() { >                         $(this).parent().css('background- > color','white'); >                 }); > > On Apr 22, 6:25 am, gostbuster wrote: > > > Hi, thank you for you answser. > > > Of course I could do that, expect that I'll h

[jQuery] Re: select only the father

2009-04-22 Thread gostbuster
   }) > > //action when the mouse is out >                        $(".thumbdelete").mouseout(function(){ >                                $('#container > ').css('background-color','white'); >                        }) > > }) > >

[jQuery] select only the father

2009-04-22 Thread gostbuster
Hi everyone, I'm getting in trouble with this problem, I have several divs which contains an image, and another div. we can imagine somethin like that : ...my image... delete What I want to do is, when I put the mouse over the div Delete (and only this one), I want to cha

[jQuery] Re: get Ajax answer to test it

2009-04-20 Thread gostbuster
Thank you very much On 16 avr, 20:17, James wrote: > success: function(responseText){ >      if (responseText == '1')  // do something > > }, > > On Apr 16, 5:32 am, gostbuster wrote: > > > Hi everyone, > > > I'm getting in trouble with ajax

[jQuery] get Ajax answer to test it

2009-04-16 Thread gostbuster
Hi everyone, I'm getting in trouble with ajax and jquery. Here is what i need: I want to execute a php script to test the value of an input. There is no problem with event and triggering the request. Here is my code : $.ajax({ url: 'emplacements/verifiernumero/numero/'

[jQuery] select option hovering problem

2009-04-10 Thread gostbuster
Hi everyone, I'm getting in trouble with Jquery selectors. I explain my problem : I have a select box from a form like this : opt1 opt2 opt3 And i want to produce an effect on it when I the mouse hover. I'm using the qtip plugin from craigWorks. here is my code : $(function(){ $(

[jQuery] Re: fade and other effects don't work...

2009-04-06 Thread gostbuster
ermans wrote: > On Apr 6, 6:18 pm, gostbuster wrote: > > > Here is my test code : > > > > > $(function (){ > > $("#effet").click(function (){ > >         $(this).fadeOut("slow"); > >         $(this).fadeIn("fast"); >

[jQuery] fade and other effects don't work...

2009-04-06 Thread gostbuster
Hi everyone, I'm having a quite strange problem with JQUERY : It seems that effects dont work. Effects like animate, slide, fade etc I tried several things but there is not result. Here is my test code : $(function (){ $("#effet").click(function (){ $(this).fadeOut("slow");