Improve jquery ui management in template class. git-svn-id: http://piwigo.org/svn/trunk@9559 68402e56-0260-453c-a942-63ccdbb3a9ee
20 lines
761 B
Go Template
20 lines
761 B
Go Template
{combine_script id='jquery' load='async' path='themes/default/js/jquery.min.js'}
|
|
{combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/ui/minified/jquery.ui.core.min.js'}
|
|
{combine_script id='jquery.ui.resizable' load='async' require='jquery.ui' path='themes/default/js/ui/minified/jquery.ui.resizable.min.js'}
|
|
|
|
{* Resize possible *}
|
|
{footer_script require='jquery.ui.resizable'}{literal}
|
|
jQuery().ready(function(){
|
|
// Resize possible for list
|
|
jQuery(".categoryList").resizable({
|
|
handles: "all",
|
|
animate: true,
|
|
animateDuration: "slow",
|
|
animateEasing: "swing",
|
|
preventDefault: true,
|
|
preserveCursor: true,
|
|
autoHide: true,
|
|
ghost: true
|
|
});
|
|
});
|
|
{/literal}{/footer_script}
|