Hallo,
ich hab "zwar in Joomla" was gefunden.
In der Datei /modules/mod_mainmenu.php ist folgendes enthalten:
PHP-Code:
switch ($mitem->browserNav) {
// cases are slightly different
case 1:
// open in a new window
$txt = '<a href="'. $mitem->link .'" target="_blank" class="'. $menuclass .'" '. $id .'>'. $mitem->name .'</a>';
break;
case 2:
// open in a popup window
$txt = "<a href=\"#\" onclick=\"javascript: window.open('". $mitem->link ."', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=550'); return false\" class=\"$menuclass\" ". $id .">". $mitem->name ."</a>\n";
break;
case 3:
// don't link it
$txt = '<span class="'. $menuclass .'" '. $id .'>'. $mitem->name .'</span>';
break;
default: // formerly case 2
// open in parent window
$txt = '<a href="'. $mitem->link .'" class="'. $menuclass .'" '. $id .'>'. $mitem->name .'</a>';
break;
}
Das läßt annehmen, dass Joomla/Mambo bei der Einstellung "parent Window" (default) einfach nur ohne jegl. target="" Angabe arbeitet.
Also fügst Du dort target="_parent" hinzu. (Ist aber bei Updates evtl. wieder weg!!!)
Lesezeichen