Hoi,
Es handelt sich um rein statischen Inhalt. Naja vor dem Umbau war er rein html->table;
jetzt halt php konform gestrickt:
<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$index=0;
include("header.php");
opentable();
echo "<table blablabla>";
..........
echo "<td align='center' ><img src='bild.gif' onMouseOver=this.src='bild2.gif' onMouseOut=this.src='bild.gif' onClick='self.location.href='modules.php?name=ORDNER&file=DOKUMENT'></td>";
...........
echo "</table>";
closetable();
include("footer.php");
?>
et funkt immer noch nicht.
Die onmouseeffekte funktionieren, der klick bewirkt halt daß er das ganze parent Fenster ersetzt anstatt im Mittelblock zu erscheinen.
evtl die onklick syntax falsch?. habs auch schon mit:
onMouseOut=this.src=target= probiert mit gleichem misserfolg
gruß
[Editiert am 11/7/2004 von uzziel]