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:
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
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()
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
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
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
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(){
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.
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
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.
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
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
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
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
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
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
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
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
From Twitter:
Jisko (alpha.jisko.net») Vine (http://vine.feedprocess.com/) use jQuery.
Be sure to follow @jquery for news, sites and tips.
Rey...
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
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]
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...
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-
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
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
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
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 ~
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;
});
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
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
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();
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
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
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
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 :
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
All fixed up. :-)
Thanks to Jorn for an awesome plugin!
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
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
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
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
41 matches
Mail list logo