[jQuery] Re: validate - Change the message language

2009-07-23 Thread Mats Hellman
oad. > > You could hack that by putting the swedish properties into a different > variable, then modifying $.validator.messages at runtime. > > Jörn > > On Thu, Jul 23, 2009 at 1:25 PM, Mats Hellman wrote: >> >> How do I change the language for the messages being

[jQuery] Re: validate - Change the message language

2009-07-23 Thread Mats Hellman
at runtime. > > Jörn > > On Thu, Jul 23, 2009 at 1:25 PM, Mats Hellman wrote: >> >> How do I change the language for the messages being displayed ones an >> error in a form is found? >> Just as an example, say I have Swedish and English at a site and load >> validate on both pages. How do I set the language correctly? >> >

[jQuery] validate - Change the message language

2009-07-23 Thread Mats Hellman
How do I change the language for the messages being displayed ones an error in a form is found? Just as an example, say I have Swedish and English at a site and load validate on both pages. How do I set the language correctly?

[jQuery] Re: Delay a swap of a DIV

2009-07-22 Thread Mats
Hi James, I know how long the movies are and can activate the button som e20-30 seconds before each part ends. This worked so thanks alot! /Mats/ On Jul 22, 10:19 pm, James wrote: > window.setTimeout(function() { >     $('#main-nobut').hide('slow'); >

[jQuery] Re: Delay a swap of a DIV

2009-07-22 Thread Mats
'slow'); }); }); On Jul 22, 12:58 am, Hector Virgen wrote: > If you know how long the movie is, you can use the native > window.setTimeout() function. > // Displays alert after 5 seconds > window.setTimeout(function() > { >     alert('5 seconds have passed');

[jQuery] Delay a swap of a DIV

2009-07-21 Thread Mats
asiest and most propriate way to do this using jQuery... swaping out one DIV for another once after X minutes? Thanks in advance /Mats/