A TALK ON THE LAW OF THE EUROPEAN UNION WITH REFLECTION TO SPECIFIC MEMBER STATES
764 764 people viewed this event.
By Csaba Gondola
Deputy Chief of Cabinet at Ministry of Justice, Budapest, Hungary
jQuery(document).ready(function() {
jQuery('.wpem_related_events-slider').slick({
arrow: true,
infinite: false,
slidesToShow: 3,
slidesToScroll: 1,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 2
}
},
{
breakpoint: 767,
settings: {
slidesToShow: 1
}
}
]
});
});
jQuery(document).ready(function() {
jQuery('.wpem-single-event-slider').slick({
dots: true,
infinite: true,
speed: 500,
fade: true,
cssEase: 'linear',
adaptiveHeight: true,
responsive: [{
breakpoint: 992,
settings: {
dots: true,
infinite: true,
speed: 500,
fade: true,
cssEase: 'linear',
adaptiveHeight: true
}
}]
});
/* Get iframe src attribute value i.e. YouTube video url
and store it in a variable */
var url = jQuery("#wpem-youtube-modal-popup .wpem-modal-content iframe").attr('src');
/* Assign empty url value to the iframe src attribute when
modal hide, which stop the video playing */
jQuery(".wpem-modal-close").on('click', function() {
jQuery("#wpem-youtube-modal-popup .wpem-modal-content iframe").attr('src', '');
});
jQuery(".wpem-modal-overlay").on('click', function() {
jQuery("#wpem-youtube-modal-popup .wpem-modal-content iframe").attr('src', '');
});
/* Assign the initially stored url back to the iframe src
attribute when modal is displayed again */
jQuery("#event-youtube-button").on('click', function() {
jQuery("#wpem-youtube-modal-popup .wpem-modal-content iframe").attr('src', url);
});
});