Hi all,
I have a little problem to appear the calendar.
The inplace editor works fine, but the calendar don't show :

<div align="left" class="texte_bleu" id="modif_date"
onmouseover="montre('<strong>Cliquez ici</strong><br>pour changer
cette date');" onmouseout="cache();" >12/03/2008</div>
      <script>
new Ajax.InPlaceEditor($('modif_date'),
  'aj_modif_date.php', {
  okButton: true,
  savingText: 'Enregistrement',
  cancelText: 'Annuler',
  formId:'modif_date',
  clickToEditText:'',
  ajaxOptions: {method: 'post'}, //override so we can use a static for
the result
  callback: function(form0, modif_date) { return
'modif_etape_date=new&devis_tmp_id=<?php echo $row[devis_tmp_id] ?
>&new_date=' + modif_date },
  onEnterEditMode: function(form0, modif_date) {
  /*<[CDATA[*/
                                                var dpck        = new 
DatePicker({
                                                relative        : 'modif_date',
                                                language        : 'fr',
                                                /*enableCloseEffect : false,*/
                                                enableShowEffect : false,
                                                closeEffect     : 'squish'
                                                /*showEffect    : 'appear'*/
                                                });
                                                dpck.setDateFormat([ "dd" , 
"mm", "yyyy" ], "/");
                                                /*]]>*/
                                                 }
});

</script>

The calendar works fine in another field.
It's Calendar RC4 http://electricprism.com/aeron/calendar

Thanks for your answer,
RĂ©gis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to