I found that a few minutes after sent my msg to this group :)

I have to thank you Karl a lot for that fabulous plugin!


Feijó


  ----- Original Message ----- 
  From: Karl Swedberg 
  To: jquery-en@googlegroups.com 
  Sent: Monday, November 19, 2007 3:17 PM
  Subject: [jQuery] Re: Working with cluetip and validate


  Hi Alessandro,


  You can already set a custom attribute with clueTip. Something like this, 
perhaps:


  $('mylink').cluetip({splitTitle: '|', titleAttribute: 'cluetip'})


  <input cluetip='My Title|my detail' title='whatever you want'> 


  Hope that helps.




  --Karl
  _________________
  Karl Swedberg
  www.englishrules.com
  www.learningjquery.com






  On Nov 19, 2007, at 7:04 AM, Alessandro Feijó wrote:


    I just set a form using both plugins

    (jquery.validate.js and jquery.cluetip.js)

    Both use Title to set his content.

    So, a natural conflit is heppening.

    The cluetip title (before the pipe) its been the actualy content of 
validate red warning string. 

    How can I circunvent that?

    If I can give a sugestion, both plugins could offer the possibility to set 
a custom attribute:

    <input cluetip='My Title|my detail' validate='please inform this field'> 

    or, more simple to read:

    <input cluetip_title='My Title' cluetip_detail='my detail' validate='please 
inform this field'>

    I use custom attr in my drupal project without problems!  Very pratical


    Thanks
    Feijó

Reply via email to