hey.
ive got a problem with my javascript.
i made a layout in photoshop of my site, saved it, put it into dreamweaver and then found the table cell that i wanted to use to place my java script menu that i built using
now i had problems firstly placing the code in the cell i wanted because the menu would not stay in that cell but instead in the very top left hand corner, i went into the app and changed the positioning of it. tried again and it worked fine, but only in firefox. it still has the same problem in IE...
my code:
<html>
<head>
<title>template final</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
/**script links**/
<link href="../stitrans.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../codethatsdk.js"></script>
<script language="javascript" src="../codethatmenustd.js"></script>
<script language="javascript1.2" src="../menu.js"></script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
/**script links end**/
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (template final.psd) -->
<table id="Table_01" width="980" height="646" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" rowspan="2">
<img src="../images/template-final_01.gif" width="279" height="276" alt=""></td>
<td>
<img src="../images/template-final_02.gif" width="140" height="138" alt=""></td>
<td>
<img src="../images/template-final_03.gif" width="139" height="138" alt=""></td>
<td>
<img src="../images/template-final_04.gif" width="144" height="138" alt=""></td>
<td colspan="3">
<img src="../images/template-final_05.gif" width="138" height="138" alt=""></td>
<td>
<img src="../images/template-final_06.gif" width="140" height="138" alt=""></td>
</tr>
<tr>
<td colspan="7">
<img src="../images/template-final_07.gif" width="701" height="138" alt=""></td>
</tr>
<tr>
<td rowspan="2">
/** cell with script position**/
<img src="../images/template-final_08.gif" width="201" height="369" alt="">
<script>
var menuTest1 = new CMenu(MenuDef, 'menuTest1');
menuTest1.create();
menuTest1.run();
</script>
</td>
/**cell with script position end**/
<td colspan="7">
<img src="../images/template-final_09.gif" width="587" height="47" alt=""></td>
<td colspan="2" rowspan="2">
<img src="../images/template-final_10.gif" width="192" height="369" alt=""></td>
</tr>
<tr>
<td>
<img src="../images/template-final_11.gif" width="44" height="322" alt=""></td>
<td colspan="5">
TEXT GOES HERE!!!!!!!!!!!!!!!!!</td>
<td>
<img src="../images/template-final_13.gif" width="54" height="322" alt=""></td>
</tr>
<tr>
<td>
<img src="../images/spacer.gif" width="201" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="44" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="34" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="140" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="139" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="144" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="32" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="54" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="52" height="1" alt=""></td>
<td>
<img src="../images/spacer.gif" width="140" height="1" alt=""></td>
</tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>