JavaScript in PHP
| From: | Pam Joseph | Date: | Fri, 20 Oct 2000 19:29:11 +0000 |
| Subject: | JavaScript in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21463@lists.php.net to get a copy of this message | ||
Webdevors,
I'm trying to get a JavaScript mouseover event to trigger in a table:
Here is the general code:
<TABLE>
while ($row = mysql_fetch_array($result))
<TD width="30"><a href="#" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image2','','trash_red.gif',1)"><img
src="trash_grey.gif" width="29" height="45" border="0"
name="Image1"></a>
</TD>
<TD>
<INPUT TYPE="radio" NAME="cont_id" VALUE="<? echo
$row["cont_id"];
?>">
</TD>
<TD><? echo $row["cat_title"]; ?></TD>
<TD><? echo $row["subcat_title"]; ?></TD>
</TABLE>
I cannot get the mouseover event to work within the table. It will work if
I take it out of the table. I used the Dreamweaver behavior to attach the
code. Any help would be appreciated.
pj
Pamela M. Joseph ____
Web Developer ||""||
Georgia Perimeter College ||__||
Clarkston Campus [ -=.]
(404)298-5208 =======:0~