Plugins
Jump to navigation
Jump to search
Color Box, Used to pop up images, HTML, Youtube Videos
ColorBox used for pop up images
$(function() { "use strict"; $('#flower-items').find('a').colorbox({ rel: 'gallery' }); });
HTML
$('#flower-items') .find('li:nth-child(2)') .colorbox({ 'html': '<h1>Colorbox</h1><p>opn the color box</p>' });
Youtube
$('#flower-items') .find('li:nth-child(2)') .colorbox({ 'href': 'https://www.youtube.com/embed?v=Vn7vZJ0AIbE', 'iframe': true, 'width': 640, 'height': 480 });
Back To Top< — >Category< — > Home