Thank you for your patience on this issue. I heard back from our developer. They said that the target of the link is _blank and not _lightbox which is telling the browser to open the content in new window. However, it also has a class thumb which suggests that it should open in the lightbox after all, based on $('.thumb').colorbox({maxWidth:"85%", maxHeight:"85%"}); in initLightbox function.
Try manually updating the code in in5.config.js to the following:
if(clickArr.length) {
$el.on(clickEv,function(e){$.each(clickArr,function(i,func){func.call(el,e);});
if($el.hasClass('page-scale-wrap')){ return !0; }
if($(this).parents('a[target="_lightbox"]').length || $(this).parents('.thumb').lentgh){ e.preventDefault(); }
$(this).parents('a').trigger(clickEv); if(pd){return !1;} e.stopPropagation(); });
}
else if(el.nodeName==='A'){
$el.on(clickEv,function(e){
switch(e.target.nodeName){
case 'LABEL':
var $targ = $(this).find('input.choice');
$targ.prop("checked", !$targ.prop("checked")).parents('a').each(function(i,a){ openLink($(a),e); });
default: if(isIOS){if($el.attr('target') === '_lightbox' || $el.hasClass('thumb')) { return; } openLink($(this),e); } /*deal w buggy ios propagation/*/
}
});
}
To modify the code yourself, you can do the following:
- Open the in5.config.js file in a text editor such as TextEdit (macOS) or Notepad (Windows) or in an IDE such as Dreamweaver which is available if you have the full Adobe Creative Cloud subscription
- Search for if(clickArr.length)
- Copy the code above
- Replace the code in the in5.config.js file
- Save the changes