Closed hungryfrank closed 4 years ago
Can you provide a page that shows the problem?
here is my html code
the two dropdown would go on top each other and there was a gap I removed bold and they became ok and I added a fixed width of 220 px and it works now .calendars-month { float: left; width: 18em; border: 1px solid #444; text-align: center; width: 220px; } I can post an image or the html code off the page but I am having a problem with localization the Persian calendar
<?php
/*
$Id$
osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com
Copyright (c) 2014 osCommerce
Released under the GNU General Public License */ ?> <!DOCTYPE html> <html <?php echo HTML_PARAMS; ?>>
datepick
is a separate plugin to the calendars and its datepicker. So don't load jquery.datepick-fa.js
and don't set any defaults on $.datepick
.
The calendars datepicker plugin name is calendarsPicker
, so your main code should be:
$(function() {
$.calendarsPicker.setDefaults({renderer: $.calendarsPicker.themeRollerRenderer});
var calendar = $.calendars.instance('persian');
$('#popupDatepicker').calendarsPicker({calendar: calendar});
$('#inlineDatepicker').calendarsPicker({calendar: calendar, onSelect: showDate});
});
what I use the inline calender Persian the calendar(not tried with other ones) it is squeezed i have a whitespace about 1/3 of the width of calendar on the right side of the container and the controllers are squeezed in