[jQuery] [validate] changing the error default position

2008-02-11 Thread Sebastián Würtz



How i can change the default position of one element when i get one error?
I want the error dosnt appear appened to the checkbox.

[ ] I accept the rules

with error:

[ ] You must accept thisI accept the rules



[jQuery] [validate] changing the error default position

2008-02-09 Thread Sebastián Würtz


How i can change the default position of one element when i get one error?
I want the error dosnt appear appened to the checkbox.

[ ] I accept the rules

with error:

[ ] You must accept thisI accept the rules




[jQuery] Re: reusing jqmodal container

2008-02-06 Thread Sebastián Würtz


Sebastián Würtz escribió:


my script


   $('a#corregir_jqm_trigger').click(function(){
   $('#jqm').jqm({ajax: this.href, trigger: 
'#corregir_jqm_trigger', modal: 'true', target:'div.jqmAlertContent', 
overlay: 50, overlayClass: 'whiteOverlay', cache: false, onLoad: 
preparar_corregir_form}).jqmShow().jqDrag('.jqDrag');
   $('.jqmdTC').html('Enviar correccioacute;n de la 
paacute;gina:');

   jqm_windows();
   return false;
   });

   $('a#enviar_jqm_trigger').click(function(){
   $('#jqm').jqm({ajax: this.href, trigger: 
'#enviar_jqm_trigger', modal: 'true', target:'div.jqmAlertContent', 
overlay: 50, overlayClass: 'whiteOverlay', cache: false, onLoad: 
preparar_envio_form}).jqmShow().jqDrag('.jqDrag');

   $('.jqmdTC').html('Enviar esta noticia por email');
   jqm_windows();
   return false;
   });

use the same jqm container, i pass the windows title via 
$('.jqmdTC').html, but if i click in the first link and then in the 
second the second allways showme the first ajax response. And im 
calling other thing!


how i can fix this?




need help here pls


[jQuery] reusing jqmodal container

2008-02-05 Thread Sebastián Würtz


my script


   $('a#corregir_jqm_trigger').click(function(){
   $('#jqm').jqm({ajax: this.href, trigger: 
'#corregir_jqm_trigger', modal: 'true', target:'div.jqmAlertContent', 
overlay: 50, overlayClass: 'whiteOverlay', cache: false, onLoad: 
preparar_corregir_form}).jqmShow().jqDrag('.jqDrag');
   $('.jqmdTC').html('Enviar correccioacute;n de la 
paacute;gina:');

   jqm_windows();
   return false;
   });

   $('a#enviar_jqm_trigger').click(function(){
   $('#jqm').jqm({ajax: this.href, trigger: 
'#enviar_jqm_trigger', modal: 'true', target:'div.jqmAlertContent', 
overlay: 50, overlayClass: 'whiteOverlay', cache: false, onLoad: 
preparar_envio_form}).jqmShow().jqDrag('.jqDrag');

   $('.jqmdTC').html('Enviar esta noticia por email');
   jqm_windows();
   return false;
   });

use the same jqm container, i pass the windows title via 
$('.jqmdTC').html, but if i click in the first link and then in the 
second the second allways showme the first ajax response. And im calling 
other thing!


how i can fix this?




[jQuery] [validate] error in jquery.validate.pack.js ie6

2008-02-05 Thread Sebastián Würtz


im getting one error using the jquery.validate.pack.js in ie6

not happening with normal version


[jQuery] Re: [validate] error in jquery.validate.pack.js ie6

2008-02-05 Thread Sebastián Würtz


Jörn Zaefferer escribió:


Sebastián Würtz schrieb:


im getting one error using the jquery.validate.pack.js in ie6

not happening with normal version


Could you give the latest revision a try?
http://dev.jquery.com/view/trunk/plugins/validate/

Jörn

when i detect the first error i download the last version, and now the 
error is missing ')' im using the normal version now, i mean the 
unconpressed one and 1.2


[jQuery] Re: [validate] error in jquery.validate.pack.js ie6

2008-02-05 Thread Sebastián Würtz


Jörn Zaefferer escribió:


Sebastián Würtz schrieb:


Jörn Zaefferer escribió:


Sebastián Würtz schrieb:


im getting one error using the jquery.validate.pack.js in ie6

not happening with normal version


Could you give the latest revision a try?
http://dev.jquery.com/view/trunk/plugins/validate/

Jörn

when i detect the first error i download the last version, and now 
the error is missing ')' im using the normal version now, i mean the 
unconpressed one and 1.2


Unless you provide a testpage I can't help you. There is no missing 
')' in the repository files.


Jörn

anyways thx in advance for your help, i cant upload all the whole site 
for now, but i contact u later o ill try to check better this.


[jQuery] Re: inArray inst working in my script

2008-02-04 Thread Sebastián Würtz


Sebastián Würtz escribió:


jQuery.getCSS = function(url, media, rel, title) {
   estilos_href = new Array();
   $.each( document.styleSheets, function(i, n){
   estilos_href[i] = n.href;
   });
   nuevo_estilo = jQuery(document.createElement('link')).attr({
   href: url,
   media: media || 'screen',
   type: 'text/css',
   title: title || '',
   rel: rel || 'stylesheet'
   });

   if ( ! $.inArray(nuevo_estilo[0].href, estilos_href) ) {
   nuevo_estilo.appendTo('head');
   }
};

what im doing wrong?


pls some hand?


[jQuery] inArray inst working in my script

2008-02-01 Thread Sebastián Würtz


jQuery.getCSS = function(url, media, rel, title) {
   estilos_href = new Array();
   $.each( document.styleSheets, function(i, n){
   estilos_href[i] = n.href;
   });
   nuevo_estilo = jQuery(document.createElement('link')).attr({
   href: url,
   media: media || 'screen',
   type: 'text/css',
   title: title || '',
   rel: rel || 'stylesheet'
   });

   if ( ! $.inArray(nuevo_estilo[0].href, estilos_href) ) {
   nuevo_estilo.appendTo('head');
   }
};

what im doing wrong?