Hi Andrey,
It's called minification. You can find several tools for this via google.
On 11/10/2021 13:17, Andrey Elanskiy wrote:
> Hi Joost,
>
> I'm learing JS and tried to analyse your code but it's really difficult
> due to these custom names you are using like "xPc", "xEb" etc. I also
> noticed that in your revised JS file, same procedures have these names
> different from the previous revision. So I thought many they are set
> somehow dynamically? Or maybe it's your own development?
>
> So I wounder if you could advise where I could learn more about such
> naming concept in JS?
>
> Regards,
> Andrey
>
> On Sun, 10 Oct 2021 at 13:49, 'PTGui Support' via PTGui Support
> <
pt...@googlegroups.com <mailto:
pt...@googlegroups.com>> wrote:
>
> Hi Andrey,
>
> Thank you! I'll implement this in the next update.
>
> Kind regards,
>
> Joost Nieuwenhuijse
>
www.ptgui.com <
http://www.ptgui.com>
>
> On 10/10/2021 00:11, Andrey Elanskiy wrote:
> > Hi,
> >
> > My website is still under construction, but another problem which I
> > faced is the "mouseup" event activated on the document level in
> your new
> > (and old as well) PTGuiViewer.js file.
> >
> > I have house pictures gallery, when clicking once you go into the
> > fullscreen mode. Clicking one more time you go into the zoom mode
> and
> > this doesn't work due to following code in your file:
> >
> >
> document.addEventListener("mouseup",function(xPc){return xEb.xz(xPc? xPc
>
> > : window.event)},false);
> >
> > What happens with the picture is that it's being glued to the
> cursor,
> > moving the picture with the cursor util I exit from the
> fullscreen mode.
> >
> > So I had to change your event from the window to the ptgui
> element like
> > so:
> x4f.addEventListener("mouseup",function(xPc){return xEb.xz(xPc? xPc
> > : window.event)},false);
> >
> > You can test it on my site Furulundjordet10C.no
> > <
http://Furulundjordet10C.no <
http://Furulundjordet10C.no>> and
> >
www.ptgui.com <
http://www.ptgui.com> <
http://www.ptgui.com
> <
http://www.ptgui.com>>
> >
> > On 22/09/2021 13:04, ae2020652 wrote:
> > > I have disabled the fullscreen button with parameters
> > > showfullscreenbutton_flash: 0,
> > > showfullscreenbutton_html: 0 and it's not there.
> > >
> > > However, if I double tap panorama on the phone or double
> click on
> > PC, it
> > > goes into the fullscreen mode.
> > >
> > > How to disable the fullscreen with double tap/ click?
> Which part
> > of the
> > > JS file shall be modified?
> > >
> > > --
> > > You received this message because you are subscribed to
> the Google
> > > Groups "PTGui Support" group.
> > > To unsubscribe from this group and stop receiving emails
> from it,
> > send
> > > an email to
ptgui+un...@googlegroups.com
> <mailto:
ptgui%2Bunsu...@googlegroups.com>
> > <mailto:
ptgui%2Bunsu...@googlegroups.com
> <mailto:
ptgui%252Buns...@googlegroups.com>>
> > > <mailto:
ptgui+un...@googlegroups.com
> <mailto:
ptgui%2Bunsu...@googlegroups.com>
> > <mailto:
ptgui%2Bunsu...@googlegroups.com
> <mailto:
ptgui%252Buns...@googlegroups.com>>>.
> > <mailto:
ptgui%2Bunsu...@googlegroups.com
> <mailto:
ptgui%252Buns...@googlegroups.com>>.
>
https://groups.google.com/d/msgid/ptgui/CAO9rvQ3RxEQn3k3YgZyzetNiWBDGPyJJsH0fWXGHJfV6TTsddA%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ptgui/CAO9rvQ3RxEQn3k3YgZyzetNiWBDGPyJJsH0fWXGHJfV6TTsddA%40mail.gmail.com>
>
> >
> <
https://groups.google.com/d/msgid/ptgui/CAO9rvQ3RxEQn3k3YgZyzetNiWBDGPyJJsH0fWXGHJfV6TTsddA%40mail.gmail.com?utm_medium=email&utm_source=footer
>
https://groups.google.com/d/msgid/ptgui/6bfab3d4-2387-97d0-c96e-55fd04fa914b%40ptgui.com
> <
https://groups.google.com/d/msgid/ptgui/6bfab3d4-2387-97d0-c96e-55fd04fa914b%40ptgui.com>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
ptgui+un...@googlegroups.com
> <mailto:
ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ptgui/CAO9rvQ2oKF3PFfKMN6_Ucp0PovGetaOcjiy1vOqUTgqO%2BzoNeA%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ptgui/CAO9rvQ2oKF3PFfKMN6_Ucp0PovGetaOcjiy1vOqUTgqO%2BzoNeA%40mail.gmail.com?utm_medium=email&utm_source=footer>.