Witam,
Mam następujący problem, otóż w joomli zainstalowałem komponent puarcade(do wrzucania gier online). Problem jest taki, że gdy się kliknie na grę wyskakuje popup, a chciałbym żeby pojawiało się nowy tab czy okno. Poniżej przedstawiam fragment kodu, który jest za to odpowiedzialny (moim zdaniem). Proszę o pomoc, gdyż problem ten jest dla mnie istotny.
<?php
/* Add opening games in a popup window by Chouaibi HAMZA 06/07/2007 */
($new==1)?$results .= "<td width=15%>
<a href= onclick=('index.php?option=com_puarcade&Itemid=$Itemid&gid=$game->id target=_blank')>
<img src=$livesite/components/images/$game->imagename border=0 style=padding:5px;></a></td>":
$results .= "<td width=15%>
<a href=".sefRelToAbs("index.php?option=com_puarcade&Itemid=".$Itemid."&fid=".$fid."&gid=".$game->id).">
<img src=".$livesite."/components/images/".$game->imagename." border=0 style=padding:5px;></a></td>";
($new==1)?$results .= "<td width=35%><b>
<a href onclick=('index.php?option=com_puarcade&Itemid=$Itemid&gid=$game->id target=_blank')>".stripslashes($game->title)."</b></a> <br>".$description."</td><td width=25%><center>".$game->numplayed."</center></td><td width=25%><center>":
$results .= "<td width=35%><b>
<a href=".sefRelToAbs
("index.php?option=com_puarcade&Itemid=".$Itemid."&fid=".$fid."&gid=".$game->id).">".stripslashes($game->title)."</b></a><br> ".$description."</td><td width=25%><center>".$game->numplayed."</center></td><td width=25%><center>";
?>
Z góry dziękuje za pomoc.
Pozdrawiam
Ten post edytował nospor 9.11.2007, 09:09:28