[jQuery] Re: Autoselect a checkbox on user's input value

2009-05-25 Thread Jeroen
vent handler (keydown, http://docs.jquery.com/Events/keydown) and create a function that checks the lenght of the text. If greater than 40, check the checkbox like so: $('#checkboxid').attr('checked', true); Good luck, -- Jeroen

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-02 Thread Jeroen Coumans
Aah! *Slaps forehead* I found the problem! I was creating the validation rules and messages by referring to the id's of the form fields, while I should just reference their names! Everything's working now, thanks for your time. Jeroen On 2 okt, 03:24, "Jörn Zaefferer" <[

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-01 Thread Jeroen Coumans
an get the validator plugin to work without having to hack the way Drupal spits out its forms? Regards, Jeroen On 1 okt, 15:16, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Could you summarize the problem again? I looked at the testpage and > couldn't see anything wr

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-01 Thread Jeroen Coumans
he id when referencing them for custom rules or messages doesn't help. Thanks, Jeroen On 1 okt, 15:16, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Could you summarize the problem again? I looked at the testpage and > couldn't see anything wrong with it. > > Jörn >

[jQuery] Re: jQuery validation plugin in Drupal

2008-09-30 Thread Jeroen Coumans
Could it have something to do with the fact that each id starts with "edit-"? When I try it with manually created markup, changing or removing the dashes doesn't help, but removing the "edit-" part does. Is there a workaround possible? Thanks, Jeroen On 29 sep, 00:06

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-28 Thread Jeroen Coumans
Hi, I've uploaded the form with the generated HTML markup at: http://lab.jeroencoumans.nl/register/ Thanks a lot, Jeroen On 27 sep, 13:26, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Yes, an example would help a lot. > > Jörn > > On Sat, Sep 27, 2008 at

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-27 Thread Jeroen Coumans
it help if I setup an example of what I'm trying to achieve? Thanks, Jeroen On 27 sep, 02:57, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Yes, details can be found > here:http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_compl... > > Jörn > &

[jQuery] [validate] jQuery validation plugin in Drupal

2008-09-26 Thread Jeroen Coumans
Hi, When trying to use the validator plugin, I get the following error: missing : after property id edit-name: "required", It seems like it has problems with the "-" that Drupal puts in the id's of each form field. Is there a workaround possible? Thanks, Jeroen Coumans

[jQuery] Re: hiding UI dialogs on startup

2008-07-17 Thread jeroen
Hi, On Jul 17, 4:06 pm, tlphipps <[EMAIL PROTECTED]> wrote: > you should set the display property to none. > i.e.   I tried that, the dialog is now not shown before it is opened but now the content of the dialog is not shown? regards, Jeroen

[jQuery] hiding UI dialogs on startup

2008-07-17 Thread jeroen
t;).dialog(); being called? Thanks, Jeroen

[jQuery] tabs custom animation

2008-03-02 Thread Jeroen Coumans
o the new dimensions? Thanks, Jeroen Coumans

[jQuery] combining Cycle and Thickbox

2008-02-11 Thread Jeroen Coumans
n't work and the slides don't automatically change. Anybody got an idea on how to solve this? Thanks! Regards, Jeroen Coumans

[jQuery] Re: jqURL?

2008-01-16 Thread Jeroen
On Jan 16, 2008 8:43 PM, Chris J. Lee <[EMAIL PROTECTED]> wrote: > > Anyone know if jqURL is up to date with jquery 1.2.2.? > > > http://www.oakcitygraphics.com/jquery/jqURL/jqURLdemo.html?var1=1&var2=2&var3=3 > Why not give it a try and see for yourself? (NoFI) -- Jeroen

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Jeroen
k this is the reason for the $.getScript("script.js", function(){ do stuff... }); function. I use this in my projects and it works great and is a much cleaner alternative. You could even bind it to an event so it only get's loaded after the event is triggered (very cool). -- Jeroen

[jQuery] Re: fade out gallery onload

2007-12-31 Thread Jeroen
> the document i need: > > > > your code: > > > > > No offense, but I think you can give a little more effort yourself. Just to give you a hint, try reading about callback in functions. -- Jeroen

[jQuery] Re: Question about the mailinglist

2007-12-30 Thread Jeroen
On Dec 30, 2007 4:33 PM, KnoxBaby <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > is it possible to receive only responds to questions that I asked in > the > > > mailinglist directly? > > > thanks :) > That's not possible AFAIK. Either you subscribe, or you don't. -- Jeroen

[jQuery] Re: fade out gallery onload

2007-12-30 Thread Jeroen
.load( function () { $('.fade').fadeOut(4000); }) This should work afaik. -- Jeroen

[jQuery] Re: fade out gallery onload

2007-12-29 Thread Jeroen
come up with, any help is really apreciated. > > What exactly is the problem; your are not very specific in your e-mail. Do you have a test page online? -- Jeroen

[jQuery] Re: FadeIn on $(document).ready flicker

2007-12-27 Thread Jeroen
On Dec 27, 2007 10:06 AM, Jeroen <[EMAIL PROTECTED]> wrote: On Dec 27, 2007 2:35 AM, Hamish Campbell <[EMAIL PROTECTED]> wrote: > > > > > Using FF2, FF3b2, IE7 and IE6 I don't get the flicker (XP SP2, > > 1280x1024, P4 3.2Ghz). Do you have a demo? Maybe you&#

[jQuery] Re: FadeIn on $(document).ready flicker

2007-12-27 Thread Jeroen
w a development version here: http://test.intellit.nl/. Try to browse through the photos a while (using hover-navigation on the photo or use a shortcut, keyboard < and >). Remember, it's a development version, so it can break while I work on it :) Thanks! -- Jeroen

[jQuery] Re: Using ajax

2007-12-26 Thread Jeroen
tion(){ $.ajax({ type: "GET", url: "words.php", dataType: "HTML", error: function(){ alert('Error loading XML document'); }, success: function(data){ alert("Data Loaded: " + data); }*);* }); -- Jeroen

[jQuery] FadeIn on $(document).ready flicker

2007-12-26 Thread Jeroen
n, you can see it in full opacity. I can fix this by, in the html, providing a 'display: none;' but then non JS browsers will not see the photo. Is there a "Unobtrusive" way to fix this? Problem is cross browser. Not only IE. Thanks! -- Jeroen

[jQuery] Re: unbind keypress for input boxes

2007-12-24 Thread Jeroen
d. > I wonder if this might be closer to what you're looking for: > > $('input').focus( function(){...} ).blur( function(){...} ); This logic should work perfectly, but now for the part in between the functions to unbind :) Thanks in advance. -- Jeroen

[jQuery] unbind keypress for input boxes

2007-12-24 Thread Jeroen
// Rebind stuff }); But it's not working. What am I doing wrong here? Happy holidays! -- Jeroen

[jQuery] How to get all CSS values from Attributes

2007-12-20 Thread Jeroen
= $('#divname').get(0).width; However top, margin etc. I don't how to fetch it. Probably very obvious problem but seem to overlook it. Thanks in advance! --- Jeroen

[jQuery] Re: How do child selectors work in jQuery?

2007-08-29 Thread Jeroen Coumans
You're right. I've adjusted my test case slightly and tested in more browsers. Apparently, Safari put me on the wrong track - it's the only browser that handles it the way I expected it to (and the only browser I checked in). Thanks a lot, this was a good learning experience for

[jQuery] Re: How do child selectors work in jQuery?

2007-08-29 Thread Jeroen Coumans
ented. Jeroen On Aug 29, 2:01 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote: > Because you are binding the click event to the a tag, not the li. So what > your saying is get all the a tags within each li (which is all the a tags in > your ul). You just need one more child se

[jQuery] How do child selectors work in jQuery?

2007-08-29 Thread Jeroen Coumans
ith a simple CSS rule. So how come, when I attach a click event to a direct child, it seems to attach itself to all descendents? Regards, Jeroen

[jQuery] Re: Strange bug with slide function and input elements

2007-08-20 Thread Jeroen Coumans
Hi, I still don't understand why I see this effect in the list with input elements and not in the list without input elements, but your solution works perfect, thanks! Jeroen On Aug 19, 6:32 pm, Bernd Matzner <[EMAIL PROTECTED]> wrote: > Hi Jeroen, > > the slideUp and slid

[jQuery] Strange bug with slide function and input elements

2007-08-19 Thread Jeroen Coumans
twice. This happens in Firefox and IE7, but not in Safari 2.x or IE6. Anybody got a clue what's going on? Thanks, Jeroen Coumans

[jQuery] Put attribute value in class

2007-07-25 Thread Jeroen Coumans
Hi, I'm trying to put an attribute value as a class in my element: HTML: text text text jQuery: $("li").each(function(){ var lang = $('#language [EMAIL PROTECTED]'); $(this).addClass(lang); }); Which gives an error about c.split not being a function. Quoting lang sets all cl

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-07 Thread Jeroen Coumans
Simple fix: provide a CSS file with the plugin which the author can integrate themselves. Then selectors can be made as specific as needed, and it would enable lots of CSS-savy designers with little Javascript skills to customize the effects. -- Jeroen Coumans On Jul 5, 9:56 pm, Scott Sauyet

[jQuery] Active menu item tutorial

2007-06-02 Thread Jeroen Coumans
o be made, but I still hope it will be useful for some of you. Feedback welcome! Jeroen Coumans

[jQuery] Re: How best to achieve this slideout effect?

2007-04-09 Thread Jeroen Coumans
ow should I adjust the following code? $('.toggle').click(function() { $('#slideout').ScrollTo('slow').slideToggle('slow'); }); Jeroen Coumans

[jQuery] How best to achieve this slideout effect?

2007-04-08 Thread Jeroen Coumans
top, and then slide up, like this: $('.toggle').click(function() { $('#slideout').ScrollTo('slow').slideToggle('slow'); }); But the slide and the scroll are seemingly initiated at the same time instead of after each other. Putting the slide in the scroll