Bug 532 is solved: doubleSelect are jQuery resizable (based on a rub idea).

git-svn-id: http://piwigo.org/svn/trunk@2600 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital
2008-09-26 20:33:23 +00:00
parent 07a97a9d13
commit 1f4d05d280
3 changed files with 27 additions and 2 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ TABLE.doubleSelect {
}
TABLE.doubleSelect TD {
padding: 0 5px;
padding: 0 3px;
width: 50%;
}
+23 -1
View File
@@ -1,4 +1,7 @@
{* $Id$ *}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js" }
{known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js" }
<table class="doubleSelect">
<tr>
<td>
@@ -17,4 +20,23 @@
<p><input class="submit" type="submit" value="&laquo;" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
</table>
{literal}
<script type="text/javascript">
jQuery().ready(function(){
jQuery(".doubleSelect SELECT.categoryList").resizable({
handles: "w,e",
knobHandles: false,
animate: true,
animateDuration: "slow",
animateEasing: "swing",
preventDefault: true,
preserveCursor: true,
autoHide: true,
ghost: true
});
});
</script>
{/literal}
+3
View File
@@ -152,6 +152,9 @@ color: #F70; border-bottom: 1px dotted #F70;}
color: #ff3363;
background-color: #111;
}
.ui-resizable-handle { border-color: #f36 !important; }
/* hacks */
html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers */
*+html .bigtext { left: 65px; }