Quite simple - localization isn't working for me. I might be doing
something wrong ... So I will paste the code below. I commented-out
the part of the code that doesn't work for me (no errors but does
exactly nothing), its in <!-- -->

Now it is that I am a bit of a noob in webdevel areas, so it might be
something really stupid done by me here. Anyway, thanks for any help
in advance.

In header:
echo "<link rel=\"stylesheet\" href=\"inc/jQueryUI/themes/default/
ui.all.css\">";
echo "<script language=\"JavaScript\" src=\"inc/jQueryUI/
jquery-1.2.6.js\"></script>";
echo "<script language=\"JavaScript\" src=\"inc/jQueryUI/ui/
ui.datepicker.js\"></script>";
//echo "<script language=\"JavaScript\" src=\"inc/jQueryUI/i18n/
ui.datepicker-sl.js\"></script>";
//> tried to include localization directly but does 0 - I see an error
in console if I try to load this :
"JavaScript - http://localhost/inc/jQueryUI/i18n/ui.datepicker-sl.js
Linked script not loaded"


Later:

<input type="text" size="10" value="<? echo date("d.m.Y"); ?>"
id="datepicker" name="datepicker"/>
<style type="text/css">@import url('inc/jQueryUI/themes/excite-bike/
ui.datepicker.css');
.embed + img { position: relative; left: -21px; top: -1px; }
</style>

<script type="text/javascript">
  $("#datepicker").datepicker({
      showOn: "button",
      showStatus: true,
      firstDay: 1,
      buttonImage: "inc/jQueryUI/images/calendar.gif",
      buttonImageOnly: true,
      dateFormat: "dd.mm.yy"
  });
</script>
<!-- this commented out code does not work - it should display
localized calendar when called ... got it from offical demos site
<script type="text/javascript">
  $("#datepicker").datepicker($.extend({},
  $.datepicker.regional["sl"], {
      showOn: "button",
      showStatus: true,
      buttonImage: "inc/jQueryUI/images/calendar.gif",
      buttonImageOnly: true,
      dateFormat: "dd.mm.yy"
  }));
</script>
-->

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to