Handling mouseovers and outs in dynamic table
I am attempting to build a dynamic table from a static one. In the static table, which was designed by a colleague, there are mouseovers and mouseouts that display layers for the user. The following is an example (built in dreamweaver):
<div align="center"><a href="javascript:;" onMouseOver="MM_setTextOfLayer('infoL','','%3Ctabl e width=%22197%22 height=%22216%22 border=%222%22 cellpadding=%225%22 cellspacing=%220%22 bordercolor=%22#CC0000%22 bgcolor=%22#000066%22%3E%0D%0A %3Ctr%3E %0D%0A %3Ctd valign=%22top%22 class=%22textsmallboldwhite%22%3EAllow ACTIVANT to receive alerts %0D%0A as an email%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E %0D%0A %3Ctd valign=%22top%22 class=%22textsmallwhite%22%3EIf you have iNet, consider setting %0D%0A this option to %3Cb%3EYes%3C/b%3E so that Activant will receive notification via email %0D%0A when your system generates certain critical alerts, such as &quot;backup %0D%0A failed.&quot;%3Cbr%3E%0D%0A %3Cbr%3E%0D%0A Activant is currently developing an infrastructure to respond to these %0D%0A critical alerts. %0D%0A %3Cbr%3E%0D%0A%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3C/table%3E')" onMouseOut="MM_setTextOfLayer('infoL','','')"><img src="../../images/info_sm.gif" width="22" height="20" border="0"></a></div>
I am building a dynamic table using a for statement and looping through an array. It works fine but the mouse over and outs are giving me fits because of the quotation marks. Whenever I place them in a document.write statement it confuses the browser. Any thoughts on how to do this?
Clay Hess
__________________
Clay Hess
|