Changes between Initial Version and Version 3 of Ticket #7400


Ignore:
Timestamp:
May 19, 2011, 9:48:34 AM (9 years ago)
Author:
Scott González
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7400

    • Property Owner set to blashak
    • Property Status changed from new to open
  • Ticket #7400 – Description

    initial v3  
    22
    33when I try to resize an image and I click on the button (div blue) and I activated the library (resizable). When I click on another button (div yellow) is disabled and the image is enlarged only a few pixels. This occurs when the image has edges.
    4 
    5 my code:
    6 
    7     <style type="text/css">
    8    
    9     #resizable{background-color: red; border:1px solid black;}
    10         #enable{ width: 50px; height:50px; padding: 0.5em; background-color: blue;}
    11         #disable{width: 50px; height: 50px; padding: 0.5em; background-color: yellow;}
    12 
    13     </style>
    14     <link rel="stylesheet" href="themes\base\jquery.ui.all.css">
    15     <script type="text/javascript" src="jquery-1.4.4.js"></script>
    16     <script type="text/javascript" src="jquery-ui-1.8.10.custom.js"></script>
    17    
    18     <link rel="stylesheet" href="demos.css" />
    19 
    20    
    21    
    22 </head>
    23 
    24 <body>
    25 <div id="enable"></div>
    26 
    27 <div id="disable"></div>
    28 <img src="todo.jpg"id="resizable"/>
    29 <script type="text/javascript">
    30 $("#enable").click(function(){
    31 
    32 
    33        
    34         $("#resizable").resizable({     });
    35                
    36        
    37 });
    38 
    39 $("#disable").click(function(){
    40 
    41          $("#resizable").resizable("destroy");
    42 
    43                        
    44 });
    45 
    46 </script>
    47 
    48 </body>
    49 </html>
    50 
    51 Greetings