VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: man.of.earth on March 20, 2023, 13:16:15 PM

Title: [for developers] Fixed fancybox misbehavior and more
Post by: man.of.earth on March 20, 2023, 13:16:15 PM
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
Title: Re: [for developers] Fixed fancybox misbehavior and more
Post by: Roderic on June 26, 2023, 23:09:39 PM
Would be nice if this gets added to the next update.
Title: Re: [for developers] Fixed fancybox misbehavior and more
Post by: hazael on July 01, 2023, 00:19:11 AM
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