Page 4 of 4

Re: Maximize Screen button - left panel options - web

PostPosted: Thu Jul 07, 2016 2:06 pm
by wmoore
Hi,

I'm afraid I'm not seeing that error on http://will-moore.github.io/weblabs/image_viewer_demo/ so the first aim would be to reproduce it.
I see that your dev viewer link above is no-longer active.
Do you have another one that shows the zooming bug?

I'm afraid I'm off tomorrow for 2 weeks, but will look at this bug if I can.

Regards,

Will.

Re: Maximize Screen button - left panel options - web

PostPosted: Thu Jul 07, 2016 2:30 pm
by jwarren
Great Will - thanks for the prompt reply. You can see the code in action here:
http://dev.mousephenotype.org/data/imag ... LZ_064_001

where the mouse wheel bug is evident - although I apologise as it obviously could be a clash with some of our javascript - though I'm not aware of us doing anything related to middle wheel functionality.

Any tips gratefully received.

Re: Maximize Screen button - left panel options - web

PostPosted: Thu Jul 07, 2016 3:10 pm
by atarkowska
Hi Jonathan,

I think you are missing
Code: Select all
static/3rdparty/jquery.mousewheel-3.0.6.js


Ola

Re: Maximize Screen button - left panel options - web

PostPosted: Fri Jul 08, 2016 8:57 am
by jwarren
Ha Ha! Brilliant! That did the trick.

Thanks Ola.

Re: Maximize Screen button - left panel options - web

PostPosted: Tue Jun 06, 2017 12:25 pm
by wmoore
Hi Jonathan,

Further to your feedback and feature request at the OME meeting last week, I have returned to the example we were working on before and opened a new PR: https://github.com/openmicroscopy/omero-webtest/pull/24
The bugs we fixed previously are still working, and I added extra example code to sync the zooming and panning of the 2 viewers. This code is a little cumbersome since it needed to use functionality that is not provided by the existing viewer code. (NB: this also doesn't work for Big (tiled) images since they use a different viewer).
Have a look under the new files code at the above PR (see JavaScript code under "// Link zooming of both viewports") and see if this works for you.
You can leave feedback here or on the PR itself.
Regards,

Will.