0

I want to apply animate effect of resizable() to html block elements when the web browser window is re-sized. This is to add some cool motion effect on top of responsive fluid design.

As far as I can tell from looking at jQuery UI API, it only seems to work with mouse interaction.

How do I make it trigger resizable() everytime browser window gets re-sized?

Seong Lee
  • 10,314
  • 25
  • 68
  • 106

1 Answers1

0

Looks like you can wrap and trigger the resize() function

 $(window).resize(function(){
     $(".selector").trigger("resize");
 });

Source

Community
  • 1
  • 1
David Hariri
  • 194
  • 1
  • 3
  • 15