Re: [jQuery] Effects: Choppyness, speed and IE
Hi Arne, Do you have an example online we could look at? Arne-Kolja Bachstein-2 wrote: > > I tried to check now what's going on there, but still cannot find it. I > tried by using the developer toolbar and found out, that in IE6 the size > of the corresponding elements is continuous counted down as it should > be, but IE6 doesn't refresh in between, but only at the end, when it > (for example) stops at 0px height when using slideUp(). In IE7 I could > not test it, because on my Vista machine with IE7 the developer toolbar > doesn't seem to work. I cannot activate it. But I noticed that right > after the elements are shown without an animation, in IE7 there is a > short animation directly under the element that got manipulated. There > is a small resize animation, maybe 20px in height, which made me wonder. > Even with IE Developer Toolbar there is no element at this point. _Very_ > strange! > -- View this message in context: http://www.nabble.com/Effects%3A-Choppyness%2C-speed-and-IE-tf3194733.html#a8883183 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Why am I getting this error message?
Hi Rick, Sorry for the late reply, I don't check the mailing list often, and kind of rely on my referrers to pick up these comments. Guess this one slipped through. The code I use to get all the different easing options working is not what I would recommend you to use. The code I use in the actual examples on the page is what you should be looking at. You don't need to use the plugin at all just for simple easing functionality as that is built in to jquery. From what you were saying elsewhere, I think you're looking for something like $('#id').slideDown('fast'); To use one of the special plugin equations you'd do: $('#id').slideDown({duration: 1000, easing: 'bounceout'}); Hope that helps. George. Rick Faircloth wrote: > > Also, if "animate" will provide similar functionality and is "built-in" to > jQuery, then I can certainly use it, if it's easier for a newbie to deal > with. > > As far as how the easing code works, I'm at a loss, since I was just > copying code from the "easing" demo page. > > Rick > -- View this message in context: http://www.nabble.com/Why-am-I-getting-this-error-message--tf3095622.html#a8883036 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery Easing plugin
Okay so it looks like hostings all sorted now. Anyone who had problems before, please try again. http://gsgd.co.uk/sandbox/jquery.easing.php Thanks, George. George Smith wrote: > > It appears I have some hosting problems, site is up and down. They are > looking into it, but if this isn't working for you straight off, try again > in a bit. > -- View this message in context: http://www.nabble.com/jQuery-Easing-plugin-tf3026880.html#a8485223 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery Easing plugin
It appears I have some hosting problems, site is up and down. They are looking into it, but if this isn't working for you straight off, try again in a bit. George Smith wrote: > > That's a shame, it's a great plugin ;) > > Not sure why that is tbh. Is working fine for me here. > -- View this message in context: http://www.nabble.com/jQuery-Easing-plugin-tf3026880.html#a8426624 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery Easing plugin
Not just mine specifically, but yes, that's the functionality I'm now using. Klaus Hartl wrote: > > In the 1.1 API docs for the animate function I > found an optional easing parameter and it is mentioned that a plugin is > required to use that. > > Is your plugin meant here? > -- View this message in context: http://www.nabble.com/jQuery-Easing-plugin-tf3026880.html#a8413240 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery Easing plugin
That's a shame, it's a great plugin ;) Not sure why that is tbh. Is working fine for me here. Gerry Danen wrote: > > I get a blank page, George. > > Gerry > > On 1/17/07, George Smith <[EMAIL PROTECTED]> wrote: >> >> This has now been updated for jQuery 1.1 >> >> Thanks to new functionality within 1.1 this is now pretty much just a >> list >> of functions for easing. Thanks jQuery team for doing what I was doing, >> only >> better, and with less code. Saves a great deal of maintenance for me. >> >> Anyway, grab it here: >> http://gsgd.co.uk/sandbox/jquery.easing.php > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/jQuery-Easing-plugin-tf3026880.html#a8411837 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery Easing plugin
Exactly right, will update the page to make this clearer. Andy Matthews-4 wrote: > > If I understand correctly, you call any of the built-in animation effects, > but pass in JSON to it? So what was: > > $('#myDiv).slideUp("slow") > > Now becomes > > $('#myDiv).slideUp({duration: 1000, easing: method}); > > ?? > -- View this message in context: http://www.nabble.com/jQuery-Easing-plugin-tf3026880.html#a8411829 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Easing plugin
This has now been updated for jQuery 1.1 Thanks to new functionality within 1.1 this is now pretty much just a list of functions for easing. Thanks jQuery team for doing what I was doing, only better, and with less code. Saves a great deal of maintenance for me. Anyway, grab it here: http://gsgd.co.uk/sandbox/jquery.easing.php Cheers, George. -- View this message in context: http://www.nabble.com/jQuery-Easing-plugin-tf3026880.html#a8409114 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] plugin page on docs.jquery
Page is borked if you're not logged in, edit doesn't work either. error message: Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1205: Lock wait timeout exceeded; try restarting transaction (localhost)". -- View this message in context: http://www.nabble.com/plugin-page-on-docs.jquery-tf3026110.html#a8407063 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery easing plugin - pre release
Hi Justin, I've sorted this for Opera now. Opera RegExp seems to be the strictest, I'm thinking that will be a good place to start testing RegExp's in the future. Thanks, George. Justin Carter wrote: > >> On 9/7/06, George Smith <[EMAIL PROTECTED]> wrote: >> > I've been working hard on this, and I reckon I've got it sorted, so now >> over >> > to you for some real world testing before giving it a proper 1.0 >> status. Any >> > and all comments welcome. >> > >> > Thanks >> > George. > > On 9/7/06, Justin Carter <[EMAIL PROTECTED]> wrote: >> ... in Opera 9.00 it seems that all the animations are identical, >> like it is not overriding the default jQuery animation for some >> reason. I've refreshed the page a few times, tried closing the >> browser, but still the animations are identical. >> >> I'll upgrade Opera to 9.01 now and see if that helps. > > Hmm, nope seems it's still broken in Opera 9.01 (Win). > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/jQuery-easing-plugin---pre-release-tf2231674.html#a6188756 Sent from the JQuery forum at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery easing plugin - pre release
Jan Sorgalla wrote: > > well done. > Thanks :) Jan Sorgalla wrote: > > I'm sure John will think about to let jQuery.fx accept the new > easing-option by default since it would be a great addition with just a > few more lines of core code. > Let's hope so, what I've done to jQuery.fx does feel a little 'hacky' Jan Sorgalla wrote: > > Btw, i would prefer extending jQuery.equations instead of overwriting > them: > Aye, thanks for that, it's now done like that. -- View this message in context: http://www.nabble.com/jQuery-easing-plugin---pre-release-tf2231674.html#a6188643 Sent from the JQuery forum at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery easing plugin - pre release
Hi All, What it does: Overwrites the standard animate functions with custom easing functions from Robert Penner. http://gsgd.co.uk/sandbox/jquery.easing.php What I've done since last time, is packaged up the equations into a separate object so this can be added to, and seperated out the unbasic ones into a separate file. I've also added in the option to pass a function instead of an easing type (part of the original request that finally got me on the road to releasing this) so if you only want to use one extra special function, then you can. I've also done some Konqueror testing, and worked out the RegExp syntax to get it working cross browser. I've been working hard on this, and I reckon I've got it sorted, so now over to you for some real world testing before giving it a proper 1.0 status. Any and all comments welcome. Thanks George. -- View this message in context: http://www.nabble.com/jQuery-easing-plugin---pre-release-tf2231674.html#a6185800 Sent from the JQuery forum at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] animate() support for custom tween/easing 'formulas'
Haha, yes it is :) I've taken it out for now, as Safari and Konq weren't getting it right, and reverted to rewriting the whole function :( Can't test in Konqueror, so if someone can check that for me. How soon before we get a better way? Looking forward to that... Thanks, George. John Resig wrote: > > Ok - that eval-rewrite thing is pretty scary ;-) I'll be sure to add > in a proper way of doing it soon, so that you don't have to do it that > way. Regardless, I like the final result. I'll be sure to let everyone > know when the final code is ready. > > --John > > On 9/4/06, George Smith <[EMAIL PROTECTED]> wrote: >> >> I've been working on this for a while, trying to work out the best way of >> implementing this as a plugin whilst trying to keep as DRY as possible, >> just >> spotted this post, hope I'm not too late :) >> >> I finally figured out the easiest way of defining an ease method would be >> to >> bastardise the speed function rather than rewriting the animate function. >> Also, using a bit of String, rewrite and eval prevented having to redo >> the >> whole fx function. I used a switch for the easing selection function. >> >> As a result this works great as a plugin. The standard effects start >> using >> the penner equations without having to change a line of code. And >> specifying >> custom ones uses all the standard effects. >> >> Check it out - http://gsgd.co.uk/sandbox/jquery.easing.php >> http://gsgd.co.uk/sandbox/jquery.easing.php >> >> I'd love to hear if anyone can tell me how to not use a switch for the >> easing function, not sure it's the best way, I'd like to be able to have >> a >> basic set of equations and then offer an extended set in a seperate file, >> but couldn't work out how to go about this. Any pointers anyone? >> >> Cheers, >> George. >> >> >> Jon Burger wrote: >> > >> > it would be good to be able >> > to pass in a function to the animate method too - much like you can >> pass a >> > function into the default array .sort() method - this function would >> > enable >> > different styles of easing anmation. >> > >> >> -- >> View this message in context: >> http://www.nabble.com/animate%28%29-support-for-custom-tween-easing-%27formulas%27-tf2169895.html#a6133934 >> Sent from the JQuery forum at Nabble.com. >> >> >> ___ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ >> > > > -- > John Resig > http://ejohn.org/ > [EMAIL PROTECTED] > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/animate%28%29-support-for-custom-tween-easing-%27formulas%27-tf2169895.html#a6140897 Sent from the JQuery forum at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] animate() support for custom tween/easing 'formulas'
I've been working on this for a while, trying to work out the best way of implementing this as a plugin whilst trying to keep as DRY as possible, just spotted this post, hope I'm not too late :) I finally figured out the easiest way of defining an ease method would be to bastardise the speed function rather than rewriting the animate function. Also, using a bit of String, rewrite and eval prevented having to redo the whole fx function. I used a switch for the easing selection function. As a result this works great as a plugin. The standard effects start using the penner equations without having to change a line of code. And specifying custom ones uses all the standard effects. Check it out - http://gsgd.co.uk/sandbox/jquery.easing.php http://gsgd.co.uk/sandbox/jquery.easing.php I'd love to hear if anyone can tell me how to not use a switch for the easing function, not sure it's the best way, I'd like to be able to have a basic set of equations and then offer an extended set in a seperate file, but couldn't work out how to go about this. Any pointers anyone? Cheers, George. Jon Burger wrote: > > it would be good to be able > to pass in a function to the animate method too - much like you can pass a > function into the default array .sort() method - this function would > enable > different styles of easing anmation. > -- View this message in context: http://www.nabble.com/animate%28%29-support-for-custom-tween-easing-%27formulas%27-tf2169895.html#a6133934 Sent from the JQuery forum at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Visual jQuery 1.0 -- Redux
Hey there, http://gsgd.co.uk/sandbox/jquery.visdoc.xml http://gsgd.co.uk/sandbox/jquery.visdoc.xml I was looking at this, and thinking maybe things could be a bit more semantic, like using a definitions list instead of a plain unordered list. Had a play, and also added in a couple of effects to try and aid the problem of the longer entries. Have a look and let me know what you think. Obviously feel free to ignore this and carry on as before :) Cheers, George. wycats wrote: > > Hey guys, > > I've put together a different version of Visual jQuery, which works in IE, > Opera, and Firefox. Please check it out and let me know how it goes. > *Note*: > There is some blank space at the top of the page for header buttons to be > added in the future. Also, this is still a very-beta site. Please play > with > it and let me know if you find any problems (not content problems -- > that's > all automatically produced from John's XML documentation). > > Check it out at: http://screencasts.visualjquery.com/visual/docs-redux.xml > > -- > Yehuda Katz > Web Developer > (ph) 718.877.1325 > (fax) 718.686.4288 > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Visual-jQuery-1.0Redux-tf2171150.html#a6110898 Sent from the JQuery forum at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/