ich möchte gerne eine Navigation realisieren, die Hover-Effekte ermöglicht. Leider haut das noch nicht ganz hin. Hier ein kleiner Auszug der Ausgabe des Moduls:
Code: Alles auswählen
echo '<tr><td height="9" align="right"><a target="'.$target.'" href="front_content.php?idcat='.$db->f("idcat").'" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(''.$db->f("name").'','','images/smallnav/'.$db->f("name").'_ov.gif','0')"><img alt="'.$db->f("name").'" style="border:0px" src="upload/smallnav/'.$db->f("name").'.gif"></a></td></tr>';
Code: Alles auswählen
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/htdocs/web1/html/cms/front_content.php(792) : eval()'d code on line 296
Code: Alles auswählen
onMouseOver="MM_swapImage('.$db->f("name").',,images/smallnav/'.$db->f("name").'_ov.gif,0)"