[Seaside] Read the DIV dimensions from the browser
Johan Brichau
johan at inceptive.be
Sat Jan 4 13:41:18 UTC 2014
The resize event only works on the window [1].
How are you changing the size of that div?
[1] http://api.jquery.com/resize/
On 04 Jan 2014, at 14:33, dtrussardi at tiscali.it wrote:
> Hi,
>
> i need to read the dimensions of a specific div after change the size with the browser "anchor".
>
> I define:
>
> html div class: 'topSide';
> onResize: (html jQuery ajax
> callback: [ :x | x inspect ]
> value: (html jQuery this width));
>
>
> but no callback event is trigger when i 'drag' the div.
>
>
> With onClick :
>
> html div class: 'topSide';
> onClick: (html jQuery ajax
> callback: [ :x | x inspect ]
> value: (html jQuery this width));
>
>
>
> the callback is trigger and the right width is read.
>
>
> Suggestion about it ?
>
>
> Thanks,
>
> Dario
>
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list