views:

93

answers:

1

The title pretty much says it all. I'm trying to use jQuery's ability (hoping GWTQuery has implemented it) to pass a callback function to the window.resize something like this(example from jquery site):
$(window).resize(function(){
alert("Stop it!");
});
but when I tryi to type $(window) in Eclipse I get an error that window can not be resolved. If anyone's interested in the bigger picture I'm basically trying to get an indciation from the window that is has finished the resizing operation and thus available for further resizing.

Thanks for any help Ittai P.S. please no lectures about browser development and resizing as I'm developing an in house app which just happens to use a browser.

A: 

OK, To the best of my knowledge, testing and info searches GWTQuery does not support the jQuery syntax of retrieving the window. This might be related to the fact that GWT has already a Window class (although it is very partial) but I'm not sure. This is true for the time being (Dec` 09) and might change in the future.

Ittai