What happens if there is another $(window).resize event in another plugin, does both things happen or only the last one called?
Jason Huck wrote: > > > Yes, .resize(): > > <html> > <head> > <script > type="text/javascript" > src="http://cachefile.net/scripts/jquery/1.2.3/ > jquery-1.2.3.min.js"> > </script> > <script type="text/javascript"> > $(function(){ > $(window).resize(function(){ > alert('You resized the window!'); > }); > }); > </script> > </head> > <body> > hi > </body> > </html> > > > This has some pretty bizarre side effects in Firefox 3 with Firebug > enabled. :P > > - jason > > > > > On May 15, 5:18 pm, Eridius <[EMAIL PROTECTED]> wrote: >> Is there a way to trigger an event when the use resize the window with >> jquery >> or vanilla javascript? >> -- >> View this message in >> context:http://www.nabble.com/trigger-event-on-resize-of-window-tp17262754s27... >> Sent from the jQuery General Discussion mailing list archive at >> Nabble.com. > > -- View this message in context: http://www.nabble.com/trigger-event-on-resize-of-window-tp17262754s27240p17274516.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.