Hi Steven,
Many thanks, your solution is working :)
I know that i try to disable core juicebox functions. I really appreciate that you nevertheless help me with that :)
If someone other wants to do the same, thats the javascript code for it:
$(document).ready(function() {
jb.onInitComplete = function() {
$('.jb-idx-thumb, .jb-idx-thb-frame').off('click');
$('.jb-idx-thumb, .jb-idx-thb-frame').on('click touchstart', function(event) {
event.stopImmediatePropagation();
});
};
jb.onThumbPageChange = function() {
$('.jb-idx-thumb, .jb-idx-thb-frame').off('click');
$('.jb-idx-thumb, .jb-idx-thb-frame').on('click touchstart', function(event) {
event.stopImmediatePropagation();
});
};
});
$(window).resize(function() {
window.setTimeout(function() {
$('.jb-idx-thumb, .jb-idx-thb-frame').off('click');
$('.jb-idx-thumb, .jb-idx-thb-frame').on('click touchstart', function(event) {
event.stopImmediatePropagation();
});
}, 200);
});
Thanks for your help. Have a nice weekend.
Best regards,
Toni