Antwort #304 am: 17. Juli 2015, 07:16:58
Hallo armend
Also ich habe noch eine Idee wie es vielleicht klappen könnte.
Suche in 'templates/bs24_ocean/javascript/general.js.php' oder 'includes/header.php' folgenden Code (ich hoffe es ist in einer dieser Dateien zu finden)
// Bilder in Modalbox
$('.thickbox').click(function(e){e.preventDefault();var imgPath = $(this).attr("href");$('#modal #modalLabel').html(this.title);$('#modal .modal-body').html('<img src="' +imgPath+ '" alt="" class="center-block" />');$('#modal').on('show', function () { $('.modal-body img').css('max-height',$(window).innerHeight()/100*70-30); });$("#modal").modal('show');$('#modal').on('hidden', function() {$(this).removeData('modal');});});
und füge danach folgenden Code ein
// Content in Modalbox with iframe
$('.iframecontentbox').click(function(eve){eve.preventDefault();var iframePath = $(this).attr("href");$('#modal #modalLabel').html(this.title);$('#modal .modal-body').html('<iframe frameborder="0" width="560" height="600" src="' +iframePath+ '"> </iframe>');$("#modal").modal('show');$('#modal').on('hidden', function() {$(this).removeData('modal');});});
dann suche in 'templates/bs24_ocean/module/poroduct_info/poroduct_info.html' folgenden Code
<!-- BOF - Artikel Anfrage PopUp -->
<p><a class="contentbox" title="{#text_products_name#}" href="{$contact_popup}"><img src="{$tpl_path}buttons/{$language}/button_ask.gif" alt="" border="0" /></a></p>
<!-- EOF - Artikel Anfrage PopUp -->
und ersetzte dort class="contentbox" mit class="iframecontentbox"
Gruss
Hanspeter