javascript - Resize popup Window to min. height and width then dragging to below size should not possible -


i want fix popup windows size minimum height of 400 , width of 650, after dragging below size should not possible, used resizeto() function, still dragging possible, want lock popup window after mini. size, , more height , width , window should resize. 1 have answer using javascript??? here done::>>

var newheight = $(window).height(); var newwidth = $(window).width();

        /*newwidth < 650 ? window.innerwidth = 650 : $(window).height();         newheight < 400 ? window.innerheight = 400 : $(window).width()*/;          if (newwidth < 633)              {                window.resizeto(650,newheight+72);             }          else if (newheight < 327) {                 window.resizeto(newwidth,400);             }  

you need use jquery ui resizeable function. once check easy method task. best


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -