News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[for developers] Fixed fancybox misbehavior and more

Started by man.of.earth, March 20, 2023, 13:16:15 PM

Previous topic - Next topic

man.of.earth

Hello developers,

Fancybox had a malfunctionning since a few versions ago. I fixed it.
Also, added webp support and removed support from IE completely.
Also, added a bit of roundness to the borders etc.

Here are the files, attached (both the uncompressed js, and the minified one).
It would actually be the 1.3.4.3 version.

Those of you who want to use them, until the developers add them to the VM builds, can put the files in the following places, in order to override the existing ones (unpack the .zip archives first, as the forum settings do not allow attachment of .css and .js files):
- the .css file in /[template_name]/css
and
- the javascript file in /[template_name]/js/fancybox

Roderic

Would be nice if this gets added to the next update.

hazael

I have blocked it on my site.

The last released version was 2.1.5 in 2013 which still supports IE7 :)

Now everyone is building lightweight efficient websites, and here we have to use very heavy jQuery - Does Virtuemart have to use it?  :-\

Simple Vanilla Javascript can be used to display content in a frame or image popup:
https://fslightbox.com/javascript