mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
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:
@@ -86,7 +86,7 @@ TABLE.doubleSelect {
|
||||
}
|
||||
|
||||
TABLE.doubleSelect TD {
|
||||
padding: 0 5px;
|
||||
padding: 0 3px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
|
||||
@@ -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="«" 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}
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user