Hi! I just did something very similar, zooming in-out an html5 video on
mouse scroll.
I suggest not doing it "really" in Wt, but instead using a JSlot, this way
you can skip server side processing, and resizing the image (or the
container div, like I did) using jquery.
You can find my code here:
https://github.com/GuLinux/Pandorica/blob/master/src/player/html5player.cpp ,
look up for the "HTML5PlayerPrivate::setZoomScroll" method.
On Wed, Jun 12, 2013 at 5:51 PM, Jon Haitz Legarreta <
jhlegarr...@vicomtech.org> wrote:
> Hi there,
> I would like to add zoom functionality to a simple display image done with
> Wt. As far as I have seen in Wt's doc, the zoom in/out features are only
> available for the WGoogleMaps.
>
> I guess I can handle mouse wheel events through Javascript. However, how
> can still combine it with Wt?
>
> Thank you,
> JON HAITZ
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest