https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Posted in fancybox
2899
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
40
This Month
197
This Year
608

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
If you work on something a little bit every day, you end up with something that is massive.
Kenneth Goldsmith
Random CSS Property

path()

The path() CSS function accepts an SVG path string, and is used in CSS Shapes and CSS Motion Path to enable a shape to be drawn.
path() css reference