Quantcast
Channel: Phoca Forum
Viewing all articles
Browse latest Browse all 2113

Phoca Maps • Re: Anzeige 3 Karten über Tab-, bzw Accordionmenü

$
0
0
Hallo Jan,
vielen Dank für dein Geduld, wir haben es jetzt hinbekomme.

Lösung:
administrator/components/com_phocamaps/helpers/phocamapsmaposm.php

function renderMap

public function renderMap() {
$o = array();
$o[] = 'jQuery(document).ready(function() {';
$o[] = implode("\n", $this->output);
$o[]= 'jQuery(\'.nav-tabs li a\').click(function(){ setTimeout(function() { map'.$this->name.$this->id.'.invalidateSize(); }, 0);});';
$o[] = '})';
Factory::getDocument()->addScriptDeclaration(implode("\n", $o));
}

Statistics: Posted by alex-jj — 20 Jun 2024, 07:35



Viewing all articles
Browse latest Browse all 2113

Trending Articles