[jQuery] Re: Curious as to why a fadeOut() won't work but a hide() does??

2009-11-13 Thread Joel Taylor
Thanks for the reply Dave, I've actually just snipped this section out of the plug-in code. there is indeed a "return false;" at the end of the submit function. So the form isn't actually submitting and forcing a redirect. Any other ideas? :) On Nov 13, 12:07 pm, Dave Methvin wrote: > My guess:

[jQuery] Curious as to why a fadeOut() won't work but a hide() does??

2009-11-13 Thread Joel Taylor
Hmm, I'm confused. I have a plugin which has this code: $(this).submit(function(){ $(this).fadeOut("slow"); }); And it doesn't fade the form. But when I change it to: $(this).submit(function(){ $(this).hide(); }); It does. Why?

[jQuery] Plugin has slow response in IE8 ...

2009-10-23 Thread Joel Taylor
Hi everyone, I'm wondering if someone could take a quick look at this slightly modified plugin that I'm using on a site. It seems to work fine in most browsers, but in IE8 it's real jittery. It's a plugin that works pretty much the same as jqZoom. Any help would be greatly appreciated. http://j

[jQuery] Re: Can I access/change a variable in a plugin?

2009-10-21 Thread Joel Taylor
Thanks, I'll check it out. :) On Oct 21, 3:59 pm, James wrote: > Try giving this article a read about plugin development > pattern:http://www.learningjquery.com/2007/10/a-plugin-development-pattern > > That should answer your questions. > > On Oct 21, 10:46

[jQuery] Re: Can I access/change a variable in a plugin?

2009-10-21 Thread Joel Taylor
the way your code is currently structured. > You'd have to move the settings variable outside of your function. > Something set to like: > > $.fn.plugin.settings = { ... } > > On Oct 21, 7:28 am, Joel Taylor wrote: > > > > > Hi, so, I have a pretty basic plugin,

[jQuery] Can I access/change a variable in a plugin?

2009-10-21 Thread Joel Taylor
Hi, so, I have a pretty basic plugin, and I'm trying to access a variable that's set when the plugin is initialized. I'd also like to change that variable on the fly. Is it possible? (function($) { $.fn.plugin = function(options){ // default settings var s

[jQuery] Can I use ajax to force a download dialog window?

2009-03-24 Thread Joel Taylor
You know those sites that have the "Your download will begin in 10 seconds" - and then it brings up a download window? How could you do that with jQuery - I've been trying several methods with the ajax functions and php headers Any ideas out there? Joel

[jQuery] Re: [validate plugin] - not working with multiple forms

2009-01-29 Thread Joel Taylor
Thanks Jorn! That worked. :) Phew. On Jan 29, 12:05 pm, Jörn Zaefferer wrote: > Try this: > > $(".validate").each(function() { >   $(this).validate(); > > }); > > Jörn > > On Thu, Jan 29, 2009 at 7:00 PM, Joel Taylor wrote: > > > hi all - so I&

[jQuery] [validate plugin] - not working with multiple forms

2009-01-29 Thread Joel Taylor
hi all - so I'm using the 'validate' plugin, and I seem to have an issue where if I have multiple forms, the plugin only validates the first form. $('.validate').validate(); Obviously I have multiple forms, so I'm using a class selector. But when I'm testing the form, the validate plugin throws

[jQuery] Re: .parent().parent() ... better way to get parents' parent

2008-12-12 Thread Joel Taylor
;     > > > $('#cat').parents('.wanted') > > - ricardo > > On Dec 11, 2:01 am, Joel Taylor wrote: > > > Is there a better way to get a parents parent than to just do repeated > > '.parent()' ??

[jQuery] .parent().parent() ... better way to get parents' parent

2008-12-11 Thread Joel Taylor
Is there a better way to get a parents parent than to just do repeated '.parent()' ??

[jQuery] Re: Weirdness in IE

2007-05-31 Thread Joel Taylor
; On 5/31/07, Joel Taylor <[EMAIL PROTECTED]> wrote: > > > > > > > On 5/30/07, Richard D. Worth < [EMAIL PROTECTED]> wrote: > > > > > > > > > I think I found a minimal test case for you. It's just IE, CSS, and > > > DOM (no

[jQuery] Re: Weirdness in IE

2007-05-31 Thread Joel Taylor
Ok, I tried both of those, and neither of them fixed the issue in IE7 (I didnt even check IE6) On 5/30/07, Richard D. Worth <[EMAIL PROTECTED]> wrote: > > On 5/25/07, Joel Taylor <[EMAIL PROTECTED]> wrote: > > > > I still need help with this one. > > See it her

[jQuery] Re: Weirdness in IE

2007-05-25 Thread Joel Taylor
I still need help with this one. See it here: http://dd-management.com/dev/TC/treatment.asp?sub=addiction-treatment On May 24, 4:54 pm, Joel Taylor <[EMAIL PROTECTED]> wrote: > append won't work either, I need the tag AFTER the h1, not inside it. > I also tried insertAfter

[jQuery] Re: Weirdness in IE

2007-05-24 Thread Joel Taylor
append won't work either, I need the tag AFTER the h1, not inside it. I also tried insertAfter - but that didn't work either. any other options? On May 24, 3:21 pm, "Jean Nascimento" <[EMAIL PROTECTED]> wrote: > try u use append? > > On 5/24/07, Jo

[jQuery] Re: Weirdness in IE

2007-05-24 Thread Joel Taylor
nope, that didnt help either (seriously, I'm not normally that sloppy with my code!) - I changed it back to the original, see what it does now. On 5/24/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: > > > > $(document).ready(function(){ > > /*$("h1").after("");*/ > > $("h1").after("

[jQuery] Weirdness in IE

2007-05-24 Thread Joel Taylor
Ok, such a vague subject, but I don't know how else to describe it! When I use this function in my site: $(document).ready(function(){ /*$("h1").after("");*/ $("h1").after(", or it does this weirdness. If I add a it doesn't. Example: http://dd-management.com/dev/TC/dual-diagn