[jQuery] Re: $.ajaxSuccess.
On 1/21/09, Ami aminad...@gmail.com wrote: Sorry about my grammar, English isn't my tang. What is the different betwen: $(document).ajaxSucess(function () {}) $('div').ajaxSucess(function () {}) $.ajaxSetup (success: function () {} ) *When I am execute* $.ajax(url); Also, how I can change the data before it's send to the server by using beforeSubmit? Thank you.
[jQuery] Re: abort an animation?
On 1/17/09, pinky reddy pinky...@gmail.com wrote: On 1/17/09, Stephan Veigl stephan.ve...@gmail.com wrote: thanks 2009/1/17 Jesse Skinner je...@thefutureoftheweb.com: You can call .stop() to stop an animation, and .css('opacity', 1) to remove transparency. Cheers, Jesse Skinner www.thefutureoftheweb.com On Sat, Jan 17, 2009 at 11:13 AM, Stephan Veigl stephan.ve...@gmail.com wrote: How can I abort an animation? I have a slow fadeOut() on an element. Under some conditions I would like to stop the fadeout and show the element without any transparency. How can I do this? Stephan
[jQuery] Re: abort an animation?
On 1/17/09, Stephan Veigl stephan.ve...@gmail.com wrote: thanks 2009/1/17 Jesse Skinner je...@thefutureoftheweb.com: You can call .stop() to stop an animation, and .css('opacity', 1) to remove transparency. Cheers, Jesse Skinner www.thefutureoftheweb.com On Sat, Jan 17, 2009 at 11:13 AM, Stephan Veigl stephan.ve...@gmail.com wrote: How can I abort an animation? I have a slow fadeOut() on an element. Under some conditions I would like to stop the fadeout and show the element without any transparency. How can I do this? Stephan
[jQuery] Re: Solution To Many Of Your CSS Nightmares!
On 1/17/09, Klaus Hartl klaus.ha...@googlemail.com wrote: One thing to keep in mind: If two declarations use !important! the conflict is solved by specificity again, e.g. as if there were no ! important: div id=foo class=bar #foo { width: 200px !important; /* higher specificity */ } .bar { width: 300px !important; } Applied width will be 200px. --Klaus On 17 Jan., 06:31, johny why johny...@gmail.com wrote: trying to integrate a 3rd party css candy into your site may result in conflicts between the candy's css and your site's css, resulting in a rendering mess. stuff that works beautifully by itself blows up when you put it into your website. this trick may not find you a new girlfriend, or butter your bread on both sides, !BUT¡ it may instantly eliminate your css conflicts. it instantly eliminated ALL of the rendering conflicts i was having with superfish (and other css menus), when trying to integrate them into my site. SOLUTION: open all your css files, and globally replace: ; with !important; THAT'S IT! (don't forget the space before !important;) for example, this: top: -999em; will become: top: -999em !important; HOW IT WORKS: the !important property forces that style to override all other css, whether style-sheets, inline-css, header-styles, and whether above or below in the css hierarchy. badabing! http://users.tpg.com.au/j_birch/plugins/superfish/http://inyourear.org