https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Posted in fancybox
2722
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
60
This Month
250
This Year
431

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
"We're tight-fisted with property and money, yet think too little of wasting time, the one thing about which we should all be the toughest misers.”
Seneca
Random CSS Property

scroll-padding-block-start

The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scroll-padding-block-start css reference