Change growfield directory.

Use of packed file.
Add growfield option (animate false)

git-svn-id: http://piwigo.org/svn/trunk@2606 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2008-09-27 00:07:06 +00:00
parent 9698c80fcf
commit 4e444f1e89
5 changed files with 6 additions and 3 deletions

View File

@@ -27,7 +27,7 @@
jQuery().ready(function(){
jQuery(".doubleSelect select.categoryList").resizable({
handles: "w,e",
animate: true,
animate: true,
animateDuration: "slow",
animateEasing: "swing",
preventDefault: true,

View File

@@ -41,7 +41,9 @@
<script type="text/javascript">
jQuery().ready(function(){
// Auto size for all text area
jQuery("TEXTAREA").growfield();
jQuery("TEXTAREA").growfield({
animate: false
});
});
</script>
{/literal}

View File

@@ -25,7 +25,7 @@
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js" now=1} {*jQuery is always available by default*}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/growfield/jquery.growfield.js"}
{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
{$themeconf.local_head}
<script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
<!--[if lt IE 7]>

File diff suppressed because one or more lines are too long