| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/components/com_djcatalog2/assets/magnific/ |
Upload File : |
jQuery(document).ready(function(){
jQuery('.djc_images').each(function() {
jQuery(this).magnificPopup({
delegate: 'a.djimagebox', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true
},
image: {
verticalFit: true
}
});
});
jQuery('.djc_items,.djc_items_table,.djc_compare_items').each(function() {
jQuery(this).magnificPopup({
delegate: 'a.djimagebox', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true
},
image: {
verticalFit: true
}
});
});
jQuery('.djc_subcategories').each(function() {
jQuery(this).magnificPopup({
delegate: 'a.djimagebox', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true
},
image: {
verticalFit: true
}
});
});
jQuery(this).magnificPopup({
delegate: 'a.legacy-img-modal', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: false
},
image: {
verticalFit: true
}
});
var frameGalleries = ['a.djc_item_preview', 'a.djc_item_preview_link', 'a.djc_item_preview_img'];
for (var i = 0; i < frameGalleries.length; i++) {
jQuery(frameGalleries[i]).magnificPopup({
//delegate: 'a.djc_item_preview', // the selector for gallery item
type: 'iframe',
mainClass: 'mfp-frame-preview',
gallery: {
enabled: true
},
iframe: {
patterns: {
youtube: null,
vimeo: null,
link: {
index: '/',
src: '%id%'
}
}
},
callbacks: {
close: function(){
}
}
});
}
jQuery('a.djc_item_contact').magnificPopup({
type: 'iframe',
mainClass: 'mfp-frame-preview',
gallery: {
enabled: false
},
iframe: {
patterns: {
youtube: null,
vimeo: null,
link: {
index: '/',
src: '%id%'
}
}
},
callbacks: {
close: function(){
}
}
});
jQuery('#djcatalog').on('ajaxFilter:loadItems', function(event){
jQuery('.djc_images').each(function() {
jQuery(this).magnificPopup({
delegate: 'a.djimagebox', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true
},
image: {
verticalFit: true
}
});
});
jQuery('.djc_subcategories').each(function() {
jQuery(this).magnificPopup({
delegate: 'a.djimagebox', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true
},
image: {
verticalFit: true
}
});
});
jQuery('.djc_items,.djc_items_table').each(function() {
jQuery(this).magnificPopup({
delegate: 'a.djimagebox', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true
},
image: {
verticalFit: true
}
});
});
for (var i = 0; i < frameGalleries.length; i++) {
jQuery('#djcatalog ' + frameGalleries[i]).magnificPopup({
//delegate: 'a.djc_item_preview', // the selector for gallery item
type: 'iframe',
mainClass: 'mfp-frame-preview',
gallery: {
enabled: true
},
iframe: {
patterns: {
youtube: null,
vimeo: null,
link: {
index: '/',
src: '%id%'
}
}
},
callbacks: {
close: function(){
}
}
});
}
jQuery('a.djc_item_contact').magnificPopup({
type: 'iframe',
mainClass: 'mfp-frame-preview',
gallery: {
enabled: false
},
iframe: {
patterns: {
youtube: null,
vimeo: null,
link: {
index: '/',
src: '%id%'
}
}
},
callbacks: {
close: function(){
}
}
});
});
});