Next and Prev button of datapicker does not appear

0

Images of the right and left buttons do not appear.

cssfilesIinstantiated:

<linkrel="stylesheet" href="/css/jquery-ui.css"/>
    <link rel="stylesheet" href="/css/jquery-ui.min.css"/>
    <link rel="stylesheet" href="/css/jquery-ui.theme.css"/>

js:

<script src="/js/jquery-ui.min.js"></script> <script src="/js/jquery-ui.min.js"></script>

$("#data-checkin").datepicker({
                dateFormat: 'dd/mm/yy',
                dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado','Domingo'],
                dayNamesMin: ['D','S','T','Q','Q','S','S','D'],
                dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb','Dom'],
                monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
                monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'],
                beforeShowDay: function (date) {
                    return [date.getDay() == 0, ""]
                }
            });

and put the images folder in the img folder inside the webroot folder.

    
asked by anonymous 29.04.2015 / 16:05

1 answer

1

You've probably changed the hierarchy of jQuery UI folders.

The images folder of the jQuery UI must be within its /css/ folder, since the paths to the images in the css are relative, eg:

.ui-icon,
.ui-widget-content .ui-icon {
  background-image: url("images/ui-icons_222222_256x240.png");
}
    
29.04.2015 / 16:45