Files
Piwigo/template/default/include/resize.inc.tpl
plegall c9dfb3a41f feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives)

git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-09 20:17:00 +00:00

23 lines
699 B
Smarty

{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.core.packed.js"}
{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.resizable.packed.js"}
{* Resize possible *}
{literal}
<script type="text/javascript">
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
});
});
</script>
{/literal}