Changeset 2603


Ignore:
Timestamp:
Sep 26, 2008, 11:47:46 PM (16 years ago)
Author:
rub
Message:

jQuery use.
All admin categoryList are resizable.
All admin teataera are autogrow.

On call for all resize application.

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/double_select.tpl

    r2602 r2603  
    1919  </tr>
    2020</table>
    21 
    22 {literal}
    23 <script type="text/javascript">
    24 jQuery().ready(function(){
    25   jQuery(".doubleSelect SELECT.categoryList").resizable({
    26     handles: "w,e",
    27     knobHandles: false,
    28     animate: true,
    29     animateDuration: "slow",
    30     animateEasing: "swing",
    31     preventDefault: true,
    32     preserveCursor: true,
    33     autoHide: true,
    34     ghost: true
    35 
    36   });
    37 });
    38 </script>
    39 {/literal}
  • trunk/admin/template/goto/footer.tpl

    r2599 r2603  
    4040{literal}
    4141<script type="text/javascript">
    42   // All admin textarea are resizable
    4342  jQuery().ready(function(){
    44     jQuery("TEXTAREA, .categoryList").resizable({
    45       handles: "all",
     43    // Auto size for all text area
     44    jQuery("TEXTAREA").growfield();
     45    // All admin categoryList are resizable
     46    jQuery(".doubleSelect, .categoryList").resizable({
     47      knobHandles: false,
    4648      animate: true,
    4749      animateDuration: "slow",
  • trunk/admin/template/goto/header.tpl

    r2601 r2603  
    2626{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
    2727{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
     28{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/growfield/jquery.growfield.js"}
    2829{$themeconf.local_head}
    2930<script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
Note: See TracChangeset for help on using the changeset viewer.