diff --git a/js/gui.js b/js/gui.js index 7c7a8867..ed58e934 100755 --- a/js/gui.js +++ b/js/gui.js @@ -425,7 +425,8 @@ $('document').ready(function() { $('body').on('click', 'a.openPopUp', function(evt) { evt.preventDefault(); var popUpButton = $(this); - top.jQuery.colorbox({iframe:true, + var inFrame = popUpButton.hasClass('notIframe') ? false : true; + top.jQuery.colorbox({iframe:inFrame, href: popUpButton.attr('href'), innerWidth: function() { var width = parseInt(popUpButton.attr('width'));