javascript

From: crudo (crudo@pinknet.cz)
Date: 15. 03. 2002, 09:54 CET


potreboval bych jeden predpodladam easy javascript:

po onmouseoveru na nejakym obrazku by se zobrazil kus kodu myslim tim
treba, ze by se v nejakym layeru zobrazil nejakej text, obrazek apod...
slo by to ?

php bych to vyjadril asi takhle:

<?
if($karel=="ano"):
$pepa="<img src='2.jpg' style='position: relative; top: 50px; left: 60px;'>";
elseif($karel=="ne"):
$pepa="<img src='2.jpg' style='position: relative; top: 150px; left: 160px;'>";
else: endif;
?>

<A href="layer.php?karel=ano"><IMG SRC="1.jpg" BORDER="0"></A><BR>
<A href="layer.php?karel=ne"><IMG SRC="1.jpg" BORDER="0"></A>

<? echo $pepa ?>

ale nebylo by to klikaci, ale onmouseover :)

diky

crudo



This archive was generated by hypermail 2.1.2 : 15. 03. 2002, 10:08 CET