https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Posted in fancybox
4039
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
148
This Month
466
This Year
1749

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
Old programmers never die; they just lose some of their functions.
Random CSS Property

env()

The env() CSS function can be used to insert the value of a user agent-defined environment variable into your CSS, in a similar fashion to the var() function and custom properties. The difference is that, as well as being user-agent defined rather than user-defined, environment variables are globally scoped to a document, whereas custom properties are scoped to the element(s) on which they are declared.
env() css reference