Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7588 closed bug (duplicate)

Div where resizable disabled becomes transparent

Reported by: [email protected] Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.resizable Version: 1.8
Keywords: Cc:
Blocked by: Blocking:


If disabled is set to true in initialization, when it is set to false from user action, then set to true again, the div becomes transparent. Need flexibility in code to decide what the div appearance should be. Transparent div isn't always the desired behavior. It might be necessary to show same appearance as when resizable allowed.

<script type='text/javascript'>


      $(function() {
         $("#slide").resizable({ disabled: true });


            //Open menu      
            $("#slide").stop().animate({ left: "+=208" }, 1200);
            $("#slide").resizable({ disabled: false });
      }, function(){
            //Close menu
            $("#slide").stop().animate({ left: "-=208" }, 1200);
            $("#slide").resizable({ disabled: true });



The code under Close menu causes the div appearance to become transparent. If instead of

            $("#slide").resizable({ disabled: true });

I do

            $("#slide").resizable( "option", "disabled", true );

then resizing isn't deactivated at all.

Change History (2)

comment:1 Changed 12 years ago by rdworth

Resolution: duplicate
Status: newclosed

comment:2 Changed 12 years ago by rdworth

Duplicate of #5973.

Note: See TracTickets for help on using tickets.