https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Posted in fancybox
3799
5:19 am, October 25, 2022
 

fancybox v3.4 - Mixed gallery

HTML

<h2>fancybox v3.4 - Mixed gallery</h2>

<hr class="my-5" />

<p class="imglist">
  <a data-fancybox="mixed" href="https://source.unsplash.com/LuK-MuZ-yf0/2400x1800">
    <img src="https://source.unsplash.com/LuK-MuZ-yf0/240x180" />
  </a>

  <a data-fancybox="mixed" data-width="640" data-height="360" href="http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4">
    <img width="240" src="http://i.ytimg.com/vi/ocVNYZ9O1G0/mqdefault.jpg" />
  </a>

  <a data-fancybox="mixed" href="https://www.youtube.com/watch?v=RFinNxS5KN4">
    <img width="240" src="http://i3.ytimg.com/vi/RFinNxS5KN4/hqdefault.jpg" />
  </a>

  <a data-fancybox="mixed" href="https://www.youtube.com/watch?v=__c_SVavGF4">
    <img width="240" src="http://i3.ytimg.com/vi/__c_SVavGF4/hqdefault.jpg" />
  </a>

  <a data-fancybox="mixed" href="https://vimeo.com/channels/staffpicks/287019927">
    <img width="240" src="https://i.vimeocdn.com/video/722058592_390x220.jpg" />
  </a>

  <a data-fancybox="mixed" href="https://vimeo.com/channels/staffpicks/287060201">
    <img width="240" src="https://i.vimeocdn.com/video/722357235_390x220.jpg" />
  </a>
</p>

Scripts

https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js

Javascript

$('[data-fancybox="mixed"]').fancybox({
		buttons : [
			'slideShow',
			'close'
		],
		slideShow : {
			autoStart : true
		}
	});

fancybox v3.4 - Mixed gallery


External Link for fancybox v3.4 - Mixed gallery

View Statistics
This Week
130
This Month
440
This Year
1508

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
I'm a big believer in energy and the secret and that sort of thing.
Unknown
Random CSS Property

contain

The contain CSS property allows an author to indicate that an element and its contents are, as much as possible, independent of the rest of the document tree. This allows the browser to recalculate layout, style, paint, size, or any combination of them for a limited area of the DOM and not the entire page, leading to obvious performance benefits.
contain css reference