https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Posted in fancybox
3956
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
192
This Month
598
This Year
1666

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
A.A. Milne’s Winnie-the-Pooh: “If you live to be a hundred, I want to live to be a hundred minus one day so I never have to live without you.”
A.A. Milne
Random CSS Property

row-gap (grid-row-gap)

The row-gap CSS property sets the size of the gap (gutter) between an element's grid rows.
row-gap css reference