[jQuery] Re: don't animate elements which are in progress of animation?

2008-06-01 Thread Wizzud
An alternative is to look at it the other way round and say whatever animation is in progress, stop it and do what is now required, eg... $(document).ready(function() { $(#control_panel li a).hover( function(){ $(this).stop().animate({paddingLeft:

[jQuery] Re: expand-refs

2008-06-01 Thread Wizzud
Untested... function expand_refs (context) { $(xref,context||document).each(function (i) { var rpl = defs[$(this).attr(ref)]||0; if(rpl){ var cntxt = $(rpl).insertAfter(this); $(this).remove(); expand_refs(cntxt); } }); } expand_refs(); On May

[jQuery] Re: don't animate elements which are in progress of animation?

2008-06-01 Thread Ambient.Impact
The easiest way to do this is using the .is() method and the :animated selector: if (!$(this).is(':animated')) { (only runs if the element isn't being animated) } Also, if you do want to run anyways, but cancel all current animations, you've got to add a little bit to the above, as .stop()

[jQuery] Re: Why is this simple thing not working..??

2008-06-01 Thread Peter
Hi Mark, You don't need to wrap the hover function in an object. Instead you can use the hover function itself to store the static variable. In that case you don't need to set timeoutRunning before the first call as it is == undefined then. I did a counter: function hover2() { if

[jQuery] Re: jQuery LOGO

2008-06-01 Thread Joel Birch
Hi TolYan, You (and anyone else) are welcome to use the logo I created. My only request is that it is used as it is and not taken apart and altered. If this logo isn't the one you are looking for then you may need to provide a reference of the one you mean. Just so you know, I get the feeling

[jQuery] Re: customizing superfish ?

2008-06-01 Thread Joel Birch
Hi Ettiene, Sorry for the delay - I've been busy and have also came down with a cold. I just had a look at your page but notice that it seems to be working as you described you wanted it to. Looks like you have solved it yourself maybe? Let me know if you still need any help. Kind regards Joel

[jQuery] Re: don't animate elements which are in progress of animation?

2008-06-01 Thread next
I actually solved my problem with stop() function, here's the exact code: $(document).ready(function() { $(#control_panel li).hover( function(){ $(this).stop().animate({marginLeft: 50px}, 50); }, function(){

[jQuery] Re: jQuery+Cycle : slideshow with progressive image loading

2008-06-01 Thread malsup
Meanwhile I've also tried my hand at some code and come to what seems to be a valid solution. It relies on image preload - slides are added to the Cycle randomly depending on the order in which they are pulled from the server, which is a way to have the slideshow run as soon as possible.

[jQuery] Re: cycle addSlideFn, timing using only a single slide as default

2008-06-01 Thread Mike Alsup
On Thu, May 1, 2008 at 1:11 AM, Jeff Friesen [EMAIL PROTECTED] wrote: I have been working with the addSlideFn. I love the idea, but I am having some problems implementing it. I have some ideas for improving it, but first here is what I ran into: I got addSlideFn to work in a somewhat

[jQuery] jQuery LOGO

2008-06-01 Thread TolYan
Hi all jQuery lovers. My question deal with the jQuery logo, i want to buy t-shirt and print the jQuery logo. Maybe someone got the vector logo of jQuery? Proudly waiting for your answer.

[jQuery] Re: jQuery+Cycle : slideshow with progressive image loading

2008-06-01 Thread Nicolas Le Thierry d'Ennequin
Hi Mike, Thanks a lot for your help (and your great plugin, needless to say !) Meanwhile I've also tried my hand at some code and come to what seems to be a valid solution. It relies on image preload - slides are added to the Cycle randomly depending on the order in which they are pulled from

[jQuery] Re: jQuery Effects (show, hide, slideUp, slideDown...) glitch with padding or margin

2008-06-01 Thread Ambient.Impact
That's because jQuery doesn't animate the padding and margin, you have to do that yourself. You can see a similar issue on the jquery.com main page, with the little demo. It jumps right at the start, when it first becomes visible, probably because of margins. I don't know why it would only occur

[jQuery] Re: jQuery+Cycle : slideshow with progressive image loading

2008-06-01 Thread Nicolas Le Thierry d'Ennequin
I'm honored, Mike! Thanks also for the minor but well-needed improvements to the code. Now here's another, probably more useful, version: - the slide URLs are registered directly from the DOM - the img nodes are removed from the DOM (except for the first 2) - the slideshow is launched with 2

[jQuery] Re: how to make a easy show/hide menu by JQUERY

2008-06-01 Thread 大连毕业设计
thanks On 5月27日, 上午5时46分, Pappa Bear [EMAIL PROTECTED] wrote: Depends on how your links are set up. You can load your links into an XML file, then use AJAX to load and parse the links. Or you can format a list (unordered or ordered... I dont think it matters) and just use show/hides or fades

[jQuery] Newbie Q: Insert last paragraph just before fourth paragraph?

2008-06-01 Thread swortis
Hi all- I suspect this is ridiculously easy.. but I'm lost.. I'm looking for a jquery way of taking the last paragraph (with class=last) of a many paragraph page and 'inserting' it just before the fourth paragraph (which does not have a class). So: psomething/p psomething/p psomething/p

[jQuery] Problems Accordion plugin in IE6

2008-06-01 Thread kirstyburgoine
Hi I'm having some difficulties getting the accordion plugin to work properly in IE6. It works perfectly in firefox and Safari (although in Safari some of my borders are missing) but it drops down to far in IE6 You can view the problem here: http://www.kirstyburgoine.co.uk/biomass/Index.php Is

[jQuery] Re: jQuery LOGO

2008-06-01 Thread Rey Bango
Joel, Your logo still sits proudly on my blog, mug, coaster and tshirt. :) It's badass. Rey... Joel Birch wrote: Hi TolYan, You (and anyone else) are welcome to use the logo I created. My only request is that it is used as it is and not taken apart and altered. If this logo isn't the one

[jQuery] Re: Newbie Q: Insert last paragraph just before fourth paragraph?

2008-06-01 Thread Jason Huck
Here's one way, no last class required, though it probably could be improved upon: $($('p').get(3)).before($('p:last')); - jason On Jun 1, 9:02 am, swortis [EMAIL PROTECTED] wrote: Hi all- I suspect this is ridiculously easy.. but I'm lost.. I'm looking for a jquery way of taking the

[jQuery] Sites Using jQuery

2008-06-01 Thread Rey Bango
From Twitter: Jisko (alpha.jisko.net») Vine (http://vine.feedprocess.com/) use jQuery. Be sure to follow @jquery for news, sites and tips. Rey...

[jQuery] Validation Plugin Mod

2008-06-01 Thread Matt Quackenbush
Hello, I am working with Jorn's most excellent form validation plugin ( http://bassistance.de/jquery-plugins/jquery-plugin-validation/), making an attempt to modify it for use with the Uni-Form markup ( http://dnevnikeklektika.com/uni-form/). I have made several changes and am mostly there, but

[jQuery] Re: what's new in jquery 1.2.6

2008-06-01 Thread Rey Bango
Hi Alex, An updated release notes page will be posted soon. Thanks for your patience. Rey Alexandre Plennevaux wrote: anybody knows what 's new in 1.2.6? the release note page is empty http://docs.jquery.com/Release:jQuery_1.2.6 Thanks, Alex -- Alexandre Plennevaux LAb[au]

[jQuery] Re: Sites Using jQuery

2008-06-01 Thread Spencer
I was just on CapitalOne.com and they are using jQuery as well. On Jun 1, 11:35 am, Rey Bango [EMAIL PROTECTED] wrote:  From Twitter: Jisko (alpha.jisko.net») Vine (http://vine.feedprocess.com/) use jQuery. Be sure to follow @jquery for news, sites and tips. Rey...

[jQuery] Re: Newbie Q: Insert last paragraph just before fourth paragraph?

2008-06-01 Thread Wizzud
Or $('p:eq(3)').before($('p:last')); On Jun 1, 6:49 pm, Jason Huck [EMAIL PROTECTED] wrote: Here's one way, no last class required, though it probably could be improved upon: $($('p').get(3)).before($('p:last')); - jason On Jun 1, 9:02 am, swortis [EMAIL PROTECTED] wrote: Hi all-

[jQuery] Re: what's new in jquery 1.2.6

2008-06-01 Thread Alexandre Plennevaux
no prob, if i can help let me know On Sun, Jun 1, 2008 at 10:24 PM, Rey Bango [EMAIL PROTECTED] wrote: Hi Alex, An updated release notes page will be posted soon. Thanks for your patience. Rey Alexandre Plennevaux wrote: anybody knows what 's new in 1.2.6? the release note page is

[jQuery] Re: Validation Plugin Mod

2008-06-01 Thread Matt Quackenbush
I'm 99.9% certain that I have correctly deduced that the reason for the continued addition of the error messages to the DOM is that the errorsFor: function() [see below] is not finding the ones that have been added already. errorsFor: function(element) { return

[jQuery] Re: Newbie Q: Insert last paragraph just before fourth paragraph?

2008-06-01 Thread swortis
Brilliant! Works wonderfully. On Jun 1, 1:49 pm, Jason Huck [EMAIL PROTECTED] wrote: Here's one way, no last class required, though it probably could be improved upon: $($('p').get(3)).before($('p:last')); - jason On Jun 1, 9:02 am, swortis [EMAIL PROTECTED] wrote: Hi all- I

[jQuery] Re: Video Tutorials - any down-loadable ??

2008-06-01 Thread Remy Sharp
I've also recently made all the screencasts available via iTunes podcast. Search jQuery and you'll see the jQuery for Designers podcast - though I had to resize the videos from 800 to 640 to meet Apple video podcast requirements. Cheers, Remy Sharp. blog ~ remysharp.com twitter ~

[jQuery] .click()/.bind() bag on IE6

2008-06-01 Thread Евгений Шаповал
hi all My script: function stop() { $(#playbta).unbind(click).bind(click,function(){ play(pos); sreturn false; }); player.dostop(); } function play(pos) { $(#playbta).unbind(click).bind(click,function(){ stop(); return false; });

[jQuery] Jquery Pngfix and mouseover problem

2008-06-01 Thread taro uma
Does anyone have a fix for using the pngfix on links where the background image is changed thru css? As is, pngfix does not let the background image change

[jQuery] Re: Validation Plugin Mod

2008-06-01 Thread Matt Quackenbush
Okay, problem #2 from the original post has been solved. I finally found the .errors() function and was able to modify it to suit my purposes. Any ideas on how to solve problem #1 would be much appreciated. :-) Thanks, Matt

[jQuery] Re: expand-refs

2008-06-01 Thread Andy Chambers
On Jun 1, 9:01 am, Wizzud [EMAIL PROTECTED] wrote: Untested... function expand_refs (context) { $(xref,context||document).each(function (i) { var rpl = defs[$(this).attr(ref)]||0; if(rpl){ var cntxt = $(rpl).insertAfter(this); $(this).remove();

[jQuery] Re: Help learning...

2008-06-01 Thread Aaron
Ok I got it to work. I bet you will never guess how. LOL I redownloaded jquery againg and then edited my html to point to that new file and now everything works perfectly. On May 31, 7:28 pm, Aaron [EMAIL PROTECTED] wrote: Is there anything that I done wrong with the script?? I still can't

[jQuery] Re: Why is this simple thing not working..??

2008-06-01 Thread Mark
2008/6/1 Peter [EMAIL PROTECTED]: Hi Mark, You don't need to wrap the hover function in an object. Instead you can use the hover function itself to store the static variable. In that case you don't need to set timeoutRunning before the first call as it is == undefined then. I did a

[jQuery] Re: down-loadable tutorial videos ??

2008-06-01 Thread GiJeet
On May 31, 5:06 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: what kind of tutorials are you looking for ? using JQuery, JQuery for beginners, etc. There are many on the web but I can't watch online. I'm looking for ones I can download. Thx. G

[jQuery] Loading external link whit ajax in tab

2008-06-01 Thread keny
Hi, I am new whit jquery, I have a working tab that use the ajax load to diplay page in tab but these page contain link that are loading in external browser. I would like to load those link in the current tab whit ajax. Is it possible and how ? I am using this pluggin :

[jQuery] How to make webpage to adjust to user display settings.

2008-06-01 Thread Aaron
ok I am currently working on a website and I need to have my website to adjust to the clients display settings so like for an example that if the user has a higher display settings my webpage through javascript would resize all the elements on my webpage to keep the orignial look. so I am

[jQuery] Re: Validation Plugin Mod

2008-06-01 Thread Matt Quackenbush
All fixed up. :-) Thanks to Jorn for an awesome plugin!

[jQuery] Re: .click()/.bind() bag on IE6

2008-06-01 Thread Michael Geary
It's pretty hard to tell what might be wrong without seeing the actual page. But a couple of questions and a suggestion... Is sreturn false: a typo in your message, or is that the actual code? Also, I assume there is some other code that sets the initial click handler? Anyway, you don't need

[jQuery] Re: Please verify

2008-06-01 Thread Michael Geary
Why worry about the GPL? You are free to use jQuery under the BSD licence instead, which is MUCH more lenient than GPL. You do need to fix one thing: Your copy of jQuery doesn't have a copyright notice. You can either update to a newer version from jquery.com, or if you don't want to change your

[jQuery] How to work with checkboxes

2008-06-01 Thread ryy705
Hello, I would like to copy the value of a text field(id=input0) to a different text field(id=input1) when a checkbox(id=same, value=1) is checked off. I am using the following code to do it. However, the value gets copied over whenever the checkbox is clicked, it doesn't matter if its

[jQuery] Re: How to work with checkboxes

2008-06-01 Thread Karl Rudd
If you're using the latest jQuery you don't need to have the @s in attribute selectors, and in this case you don't even need to use the attribute selectors at all, you can use the CSS id '#' selector. You could also drop the input at the start of the selectors if you only have input elements with