[jQuery] Re: Problem with animate after submit in opera

2009-10-20 Thread Constantin Valeriu Tuguran
Thanks for the help. I wanted to give the user some feedback while waiting for an action to complete so I can not return false. I must find another way. Best Regards, 2009/10/20, Karl Swedberg k...@englishrules.com: Is the link's href set to another page? If so, I'm surprised it works in any

[jQuery] Re: Problem with animate after submit in opera

2009-10-20 Thread Karl Swedberg
On Oct 20, 2009, at 3:53 AM, Constantin Valeriu Tuguran wrote: Thanks for the help. I wanted to give the user some feedback while waiting for an action to complete so I can not return false. I must find another way. How about this, then? ... $(document).ready(function(){

[jQuery] Re: Problem with animate after submit in opera

2009-10-20 Thread Constantin Valeriu Tuguran
Thanks again for your time. The idea is this: I have an action that usually finishes instantly but can take alot of time if on that action the database is migrated (this happens rarely but it happens). On this action i triggered the animation because I wanted to notify the user somehow that things

[jQuery] Re: Problem with animate after submit in opera

2009-10-19 Thread Karl Swedberg
Is the link's href set to another page? If so, I'm surprised it works in any browser. You would need to return false after your animate methods: $(document).ready(function(){ $(.action).click(function(){ $(#panel) .animate({top:0px}, 500)

[jQuery] Re: Problem with animate callback

2009-01-26 Thread Karl Swedberg
The click handler needs to be bound when the link actually exists. You could try it this way: function resizeSquare() { var $square = $('#square'); $square.animate({ width: 300px, marginLeft: -150px}, 800) .animate({ height: 400px, marginTop: -200px}, 800, function() {

[jQuery] Re: problem with animate scrollTop and XHTML

2007-09-20 Thread Karl Swedberg
Hi wolf, I ran into the same problem, but on John Resig's recommendation I add html to the selector and it worked: $( 'html, body' ).animate( { scrollTop: y }, d, 'bounceout' ); }; See my blog entry for more information:

[jQuery] Re: problem with animate scrollTop and XHTML

2007-09-20 Thread Tony
wolf, Change 'body' to 'html': $( 'html' ).animate( { scrollTop: y }, d, 'bounceout' ); }; --Tony On 9月20日, 下午9時12分, wolf [EMAIL PROTECTED] wrote: i am looking for a solution to scroll pages smoothly and found the example at http://dev.jquery.com/~john/ticket/step/test2.html that does

[jQuery] Re: problem with animate scrollTop and XHTML

2007-09-20 Thread wolf
[EMAIL PROTECTED] karl, that did it! your page http://www.learningjquery.com/2007/09/animated-scrolling-with-jquery-12 is very informative, too! jquery is truly awesome. i never look back to writing javascript w/out a library like this (and when i do i get that sinking feeling--- javascript is

[jQuery] Re: problem with animate()...

2007-06-18 Thread Byron
hi John, worked like a treat, is there a compressed version available? On Jun 18, 5:29 pm, John Resig [EMAIL PROTECTED] wrote: Byron - You should give jQuery 1.1.3a a try. This was one of the nasty bugs that we were able to resolve in it:http://code.jquery.com/jquery-1.1.3a.js Let me know

[jQuery] Re: problem with animate()...

2007-06-18 Thread GianCarlo Mingati
Hi Byron, i am not an expert but i had the same issue with my sliderView plugin. http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html I looked at your script and i think that if instead of declaring the imagewidth [var imageSize = 180;] you let jq retrieve

[jQuery] Re: problem with animate()...

2007-06-18 Thread John Resig
Not yet - we should have the final version of 1.1.3 released very soon - at which point we'll have all the versions available for use. --John On 6/18/07, Byron [EMAIL PROTECTED] wrote: hi John, worked like a treat, is there a compressed version available? On Jun 18, 5:29 pm, John Resig

[jQuery] Re: problem with animate()...

2007-06-18 Thread Byron
Hi john, That worked great, when can we expect a compressed release? XD Byron

[jQuery] Re: problem with animate()...

2007-06-17 Thread Erik Beeson
Having no actual idea and just venturing a guess, I'd say maybe there's a compounding rounding error or something? Maybe try setting the correct value after the animation has completed (via a callback)? --Erik On 6/17/07, Byron [EMAIL PROTECTED] wrote: Hi all, this is my first post to this

[jQuery] Re: problem with animate()...

2007-06-17 Thread Erik Beeson
It doesn't seem to happen consistently... On 6/17/07, Erik Beeson [EMAIL PROTECTED] wrote: Having no actual idea and just venturing a guess, I'd say maybe there's a compounding rounding error or something? Maybe try setting the correct value after the animation has completed (via a callback)?

[jQuery] Re: problem with animate()...

2007-06-17 Thread Byron
Thanks, I tried setting it in the call bak like so.. ... $(#imageBoxInside).animate({left: sLeft}, 'slow', function() { wait = 0; var left = parseInt($(#imageBoxInside).css(left)); if (left 0 left -(imageSize * transitionSize)) { $(#imageBoxInside).css(left, 0px); }

[jQuery] Re: problem with animate()...

2007-06-17 Thread John Resig
Byron - You should give jQuery 1.1.3a a try. This was one of the nasty bugs that we were able to resolve in it: http://code.jquery.com/jquery-1.1.3a.js Let me know if that code helps to solve your problem. --John On 6/17/07, Byron [EMAIL PROTECTED] wrote: Thanks, I tried setting it in the