By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,679 Members | 2,602 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,679 IT Pros & Developers. It's quick & easy.

Please help. netscape issues with show/hide tables..

P: n/a
Hi all,

Here's my problem. I have tables that are using the menu/submenu idea
for hiding rows. This works fine in IE (of course) and does show/hide
correctly in netscape, but as soon as the shown method is called, the
table gets skewed and the presentation of the data on the page goes
horribly wrong. I don't think this is a table issue as I have spent
alot of time staring at this code. Here is the html...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

<title>Investment Transfer</title>
<META HTTP-EQUIV="Expires" CONTENT="Mon, 03 Mar 1997 01:00:00 GMT">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<script language="javascript1.1">

</script>
<script language="javascript1.1" src="js/ua.js"></script>
<script language="javascript1.1" src="js/styleLF.js"></script>
<script language="javascript1.1" src="js/source_popup.js"></script>
<script language="javascript1.1" src="js/prod_popup.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--

function showNextFrame() {

// Make sure the bottom frame is blank
parent.frame3.location.href="blank.html";
// Submit the form
document.FundToFundTransferForm.submit();
parent.scrollToFormatFrame();
}

function clearOtherFrames() {

parent.frame2.location.href="blank.html";
parent.frame3.location.href="blank.html";

}

function handleFromRadioButton(prodcode, sourcecode, prodname,
sourcename) {

document.FundToFundTransferForm.prd_code.value = prodcode;
document.FundToFundTransferForm.src_code.value = sourcecode;
document.FundToFundTransferForm.prd_name.value = prodname;
document.FundToFundTransferForm.src_name.value = sourcename;
showNextFrame();
}

function setFrmHeight(){

var param = "";

arProds = new Array();

//frheight=parent.document.getElementById('frame1'). contentWindow.document.body.scrollHeight;
//parent.document.getElementById("frame1").style.hei ght=(frheight+"px");
frheight=parent.document.getElementById('frame1'). contentWindow.document.body.scrollHeight;
if (frheight > 250) {
frheight = 250;
parent.document.getElementById('frame1').scrolling ="no";
}
else {
parent.document.getElementById('frame1').scrolling ="no";
}
parent.document.getElementById('frame1').style.hei ght=(frheight+"px");

}
// -->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.1">

function showStep2() {
document.step2.visibility='show';
}

function handleSelectButton(prodcode, id) {

clearOtherFrames();
expandMenu(prodcode);
setFrmHeight();
var x = document.getElementById(id).offsetLeft;
var y = document.getElementById(id).offsetTop;
//alert('id= ' + id + ' x=' + x + ' y=' + y);
scroll(x,y);
parent.scrollToFromFrame();
}

function expandMenu(prodcode) {
var closed = new Image();
var opened = new Image();

closed.src = "images/select_button.gif";
opened.src = "images/select_disabled_button.gif";


if(prodcode == "HJ") {
document.getElementById("menu_row1_HJ").src = opened.src;
document.getElementById("sm_row1_HJ_0").style.disp lay =
"block";
document.getElementById("sm_row2_HJ_0").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_HJ_0").checked = "";
document.getElementById("sm_row1_HJ_1").style.disp lay =
"block";
document.getElementById("sm_row2_HJ_1").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_HJ_1").checked = "";

}
else {
document.getElementById("menu_row1_HJ").src = closed.src;

document.getElementById("sm_row1_HJ_0").style.disp lay =
"none";
document.getElementById("sm_row2_HJ_0").style.disp lay =
"none";

document.getElementById("sm_row1_HJ_1").style.disp lay =
"none";
document.getElementById("sm_row2_HJ_1").style.disp lay =
"none";

}

if(prodcode == "93") {
document.getElementById("menu_row1_93").src = opened.src;
document.getElementById("sm_row1_93_0").style.disp lay =
"block";
document.getElementById("sm_row2_93_0").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_0").checked = "";
document.getElementById("sm_row1_93_1").style.disp lay =
"block";
document.getElementById("sm_row2_93_1").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_1").checked = "";
document.getElementById("sm_row1_93_2").style.disp lay =
"block";
document.getElementById("sm_row2_93_2").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_2").checked = "";
document.getElementById("sm_row1_93_3").style.disp lay =
"block";
document.getElementById("sm_row2_93_3").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_3").checked = "";
document.getElementById("sm_row1_93_4").style.disp lay =
"block";
document.getElementById("sm_row2_93_4").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_4").checked = "";
document.getElementById("sm_row1_93_5").style.disp lay =
"block";
document.getElementById("sm_row2_93_5").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_5").checked = "";
document.getElementById("sm_row1_93_6").style.disp lay =
"block";
document.getElementById("sm_row2_93_6").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_6").checked = "";
document.getElementById("sm_row1_93_7").style.disp lay =
"block";
document.getElementById("sm_row2_93_7").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_93_7").checked = "";

}
else {
document.getElementById("menu_row1_93").src = closed.src;

document.getElementById("sm_row1_93_0").style.disp lay =
"none";
document.getElementById("sm_row2_93_0").style.disp lay =
"none";

document.getElementById("sm_row1_93_1").style.disp lay =
"none";
document.getElementById("sm_row2_93_1").style.disp lay =
"none";

document.getElementById("sm_row1_93_2").style.disp lay =
"none";
document.getElementById("sm_row2_93_2").style.disp lay =
"none";

document.getElementById("sm_row1_93_3").style.disp lay =
"none";
document.getElementById("sm_row2_93_3").style.disp lay =
"none";

document.getElementById("sm_row1_93_4").style.disp lay =
"none";
document.getElementById("sm_row2_93_4").style.disp lay =
"none";

document.getElementById("sm_row1_93_5").style.disp lay =
"none";
document.getElementById("sm_row2_93_5").style.disp lay =
"none";

document.getElementById("sm_row1_93_6").style.disp lay =
"none";
document.getElementById("sm_row2_93_6").style.disp lay =
"none";

document.getElementById("sm_row1_93_7").style.disp lay =
"none";
document.getElementById("sm_row2_93_7").style.disp lay =
"none";

}

if(prodcode == "I1") {
document.getElementById("menu_row1_I1").src = opened.src;
document.getElementById("sm_row1_I1_0").style.disp lay =
"block";
document.getElementById("sm_row2_I1_0").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_0").checked = "";
document.getElementById("sm_row1_I1_1").style.disp lay =
"block";
document.getElementById("sm_row2_I1_1").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_1").checked = "";
document.getElementById("sm_row1_I1_2").style.disp lay =
"block";
document.getElementById("sm_row2_I1_2").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_2").checked = "";
document.getElementById("sm_row1_I1_3").style.disp lay =
"block";
document.getElementById("sm_row2_I1_3").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_3").checked = "";
document.getElementById("sm_row1_I1_4").style.disp lay =
"block";
document.getElementById("sm_row2_I1_4").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_4").checked = "";
document.getElementById("sm_row1_I1_5").style.disp lay =
"block";
document.getElementById("sm_row2_I1_5").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_5").checked = "";
document.getElementById("sm_row1_I1_6").style.disp lay =
"block";
document.getElementById("sm_row2_I1_6").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_6").checked = "";
document.getElementById("sm_row1_I1_7").style.disp lay =
"block";
document.getElementById("sm_row2_I1_7").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_7").checked = "";
document.getElementById("sm_row1_I1_8").style.disp lay =
"block";
document.getElementById("sm_row2_I1_8").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_8").checked = "";
document.getElementById("sm_row1_I1_9").style.disp lay =
"block";
document.getElementById("sm_row2_I1_9").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_I1_9").checked = "";

}
else {
document.getElementById("menu_row1_I1").src = closed.src;

document.getElementById("sm_row1_I1_0").style.disp lay =
"none";
document.getElementById("sm_row2_I1_0").style.disp lay =
"none";

document.getElementById("sm_row1_I1_1").style.disp lay =
"none";
document.getElementById("sm_row2_I1_1").style.disp lay =
"none";

document.getElementById("sm_row1_I1_2").style.disp lay =
"none";
document.getElementById("sm_row2_I1_2").style.disp lay =
"none";

document.getElementById("sm_row1_I1_3").style.disp lay =
"none";
document.getElementById("sm_row2_I1_3").style.disp lay =
"none";

document.getElementById("sm_row1_I1_4").style.disp lay =
"none";
document.getElementById("sm_row2_I1_4").style.disp lay =
"none";

document.getElementById("sm_row1_I1_5").style.disp lay =
"none";
document.getElementById("sm_row2_I1_5").style.disp lay =
"none";

document.getElementById("sm_row1_I1_6").style.disp lay =
"none";
document.getElementById("sm_row2_I1_6").style.disp lay =
"none";

document.getElementById("sm_row1_I1_7").style.disp lay =
"none";
document.getElementById("sm_row2_I1_7").style.disp lay =
"none";

document.getElementById("sm_row1_I1_8").style.disp lay =
"none";
document.getElementById("sm_row2_I1_8").style.disp lay =
"none";

document.getElementById("sm_row1_I1_9").style.disp lay =
"none";
document.getElementById("sm_row2_I1_9").style.disp lay =
"none";

}

if(prodcode == "42") {
document.getElementById("menu_row1_42").src = opened.src;
document.getElementById("sm_row1_42_0").style.disp lay =
"block";
document.getElementById("sm_row2_42_0").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_42_0").checked = "";
document.getElementById("sm_row1_42_1").style.disp lay =
"block";
document.getElementById("sm_row2_42_1").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_42_1").checked = "";
document.getElementById("sm_row1_42_2").style.disp lay =
"block";
document.getElementById("sm_row2_42_2").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_42_2").checked = "";
document.getElementById("sm_row1_42_3").style.disp lay =
"block";
document.getElementById("sm_row2_42_3").style.disp lay =
"block";
// ensure radio button is not checked
document.getElementById("sm_radio_42_3").checked = "";

}
else {
document.getElementById("menu_row1_42").src = closed.src;

document.getElementById("sm_row1_42_0").style.disp lay =
"none";
document.getElementById("sm_row2_42_0").style.disp lay =
"none";

document.getElementById("sm_row1_42_1").style.disp lay =
"none";
document.getElementById("sm_row2_42_1").style.disp lay =
"none";

document.getElementById("sm_row1_42_2").style.disp lay =
"none";
document.getElementById("sm_row2_42_2").style.disp lay =
"none";

document.getElementById("sm_row1_42_3").style.disp lay =
"none";
document.getElementById("sm_row2_42_3").style.disp lay =
"none";

}

}

function hideAllSubMenus() {

var closed = new Image();
var opened = new Image();

closed.src = "images/select_button.gif";
opened.src = "images/select_disabled_button.gif";


document.getElementById("menu_row1_HJ").src = closed.src;
document.getElementById("sm_row1_HJ_0").style.disp lay = "none";
document.getElementById("sm_row2_HJ_0").style.disp lay = "none";
document.getElementById("sm_row1_HJ_1").style.disp lay = "none";
document.getElementById("sm_row2_HJ_1").style.disp lay = "none";



document.getElementById("menu_row1_93").src = closed.src;
document.getElementById("sm_row1_93_0").style.disp lay = "none";
document.getElementById("sm_row2_93_0").style.disp lay = "none";
document.getElementById("sm_row1_93_1").style.disp lay = "none";
document.getElementById("sm_row2_93_1").style.disp lay = "none";
document.getElementById("sm_row1_93_2").style.disp lay = "none";
document.getElementById("sm_row2_93_2").style.disp lay = "none";
document.getElementById("sm_row1_93_3").style.disp lay = "none";
document.getElementById("sm_row2_93_3").style.disp lay = "none";
document.getElementById("sm_row1_93_4").style.disp lay = "none";
document.getElementById("sm_row2_93_4").style.disp lay = "none";
document.getElementById("sm_row1_93_5").style.disp lay = "none";
document.getElementById("sm_row2_93_5").style.disp lay = "none";
document.getElementById("sm_row1_93_6").style.disp lay = "none";
document.getElementById("sm_row2_93_6").style.disp lay = "none";
document.getElementById("sm_row1_93_7").style.disp lay = "none";
document.getElementById("sm_row2_93_7").style.disp lay = "none";



document.getElementById("menu_row1_I1").src = closed.src;
document.getElementById("sm_row1_I1_0").style.disp lay = "none";
document.getElementById("sm_row2_I1_0").style.disp lay = "none";
document.getElementById("sm_row1_I1_1").style.disp lay = "none";
document.getElementById("sm_row2_I1_1").style.disp lay = "none";
document.getElementById("sm_row1_I1_2").style.disp lay = "none";
document.getElementById("sm_row2_I1_2").style.disp lay = "none";
document.getElementById("sm_row1_I1_3").style.disp lay = "none";
document.getElementById("sm_row2_I1_3").style.disp lay = "none";
document.getElementById("sm_row1_I1_4").style.disp lay = "none";
document.getElementById("sm_row2_I1_4").style.disp lay = "none";
document.getElementById("sm_row1_I1_5").style.disp lay = "none";
document.getElementById("sm_row2_I1_5").style.disp lay = "none";
document.getElementById("sm_row1_I1_6").style.disp lay = "none";
document.getElementById("sm_row2_I1_6").style.disp lay = "none";
document.getElementById("sm_row1_I1_7").style.disp lay = "none";
document.getElementById("sm_row2_I1_7").style.disp lay = "none";
document.getElementById("sm_row1_I1_8").style.disp lay = "none";
document.getElementById("sm_row2_I1_8").style.disp lay = "none";
document.getElementById("sm_row1_I1_9").style.disp lay = "none";
document.getElementById("sm_row2_I1_9").style.disp lay = "none";



document.getElementById("menu_row1_42").src = closed.src;
document.getElementById("sm_row1_42_0").style.disp lay = "none";
document.getElementById("sm_row2_42_0").style.disp lay = "none";
document.getElementById("sm_row1_42_1").style.disp lay = "none";
document.getElementById("sm_row2_42_1").style.disp lay = "none";
document.getElementById("sm_row1_42_2").style.disp lay = "none";
document.getElementById("sm_row2_42_2").style.disp lay = "none";
document.getElementById("sm_row1_42_3").style.disp lay = "none";
document.getElementById("sm_row2_42_3").style.disp lay = "none";


}

function clearOtherFrames() {
parent.frames[1].location="blank.html";
parent.frames[2].location="blank.html";
}

function doOnLoad() {
//initArray();
hideAllSubMenus();
clearOtherFrames();
}

// End -->
</script>
</head>
<!-- Event logging

44
-->
<body onload="setFrmHeight();doOnLoad()">
<form name="FundToFundTransferForm" method="post" target="frame2"
action="fundToFund2.do">

<input type="hidden" name="src_code" value="">
<input type="hidden" name="prd_code" value="">
<input type="hidden" name="src_name" value="">
<input type="hidden" name="prd_name" value="">

<table border="0" cellspacing="0" cellpadding="0">
<!--width="625"-->

<tr>
<td id="button_locationHJ" colspan="7"><IMG SRC="images/spacer.gif"
HEIGHT=5 BORDER=0 ALT=""></td>
</tr>
<tr class="menu1">
<td align="left" colspan="2">&nbsp;</td>
<td width="80" align="left" valign="bottom"><img
id="menu_row1_HJ" src="images/select_button.gif"
onClick="handleSelectButton('HJ', 'button_locationHJ')" border="0"
/></td>
<td width="250" align="left"> <STRONG><a
href="javascript:prodPopUp('HJ')">EMPLOYEE ENTERGY STOCK
</a></STRONG></td>
<td width="80" align="left"><STRONG>0.0</STRONG></td>

<td width="90" align="left"><STRONG>$0.0</STRONG></td>
<td width="70" align="left"><STRONG>0.0%</STRONG></td>
</tr>
<tr>
<td colspan="7"><IMG SRC="images/spacer.gif" WIDTH=400 HEIGHT=5
ORDER=0 ALT=""></td>
</tr>


<tr class="submenu" id="sm_row1_HJ_0">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="*"
onclick="handleFromRadioButton('HJ', '*','EMPLOYEE ENTERGY STOCK
','ALL SOURCES ')" id="sm_radio_HJ_0">

<STRONG>&nbsp;
ALL SOURCES

</STRONG></td>
<td width="80" align="left">37.4311</td>
<td width="90" align="left">$2049.35</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_HJ_0"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr class="submenu" id="sm_row1_HJ_1">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="4"
onclick="handleFromRadioButton('HJ', '4','EMPLOYEE ENTERGY STOCK
','COMPANY MATCH-0.70 ')" id="sm_radio_HJ_1">


<STRONG>&nbsp;
COMPANY MATCH-0.70

ONLY

</STRONG></td>
<td width="80" align="left">37.4311</td>
<td width="90" align="left">$2049.35</td>
<td width="70" align="left">&nbsp;</td>

</tr>
<tr class="submenu"
id="sm_row2_HJ_1"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>



<tr>
<td id="button_location93" colspan="7"><IMG SRC="images/spacer.gif"
HEIGHT=5 BORDER=0 ALT=""></td>
</tr>
<tr class="menu1">
<td align="left" colspan="2">&nbsp;</td>
<td width="80" align="left" valign="bottom"><img
id="menu_row1_93" src="images/select_button.gif"
onClick="handleSelectButton('93', 'button_location93')" border="0"
/></td>
<td width="250" align="left"> <STRONG><a
href="javascript:prodPopUp('93')">BLUE CHIP GROWTH FUND
</a></STRONG></td>
<td width="80" align="left"><STRONG>0.0</STRONG></td>

<td width="90" align="left"><STRONG>$0.0</STRONG></td>
<td width="70" align="left"><STRONG>0.0%</STRONG></td>
</tr>
<tr>
<td colspan="7"><IMG SRC="images/spacer.gif" WIDTH=400 HEIGHT=5
ORDER=0 ALT=""></td>
</tr>


<tr class="submenu" id="sm_row1_93_0">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="*"
onclick="handleFromRadioButton('93', '*','BLUE CHIP GROWTH FUND
','ALL SOURCES ')" id="sm_radio_93_0">

<STRONG>&nbsp;
ALL SOURCES

</STRONG></td>
<td width="80" align="left">1113.265</td>
<td width="90" align="left">$30859.7</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_93_0"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr class="submenu" id="sm_row1_93_1">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="A"
onclick="handleFromRadioButton('93', 'A','BLUE CHIP GROWTH FUND
','BEFORE-TAX ')" id="sm_radio_93_1">


<STRONG>&nbsp;
BEFORE-TAX

ONLY

</STRONG></td>
<td width="80" align="left">816.787</td>
<td width="90" align="left">$22641.34</td>
<td width="70" align="left">&nbsp;</td>

</tr>
<tr class="submenu"
id="sm_row2_93_1"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_93_2">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="C"
onclick="handleFromRadioButton('93', 'C','BLUE CHIP GROWTH FUND
','ESOP COMPANY ')" id="sm_radio_93_2">


<STRONG>&nbsp;
ESOP COMPANY

ONLY

</STRONG></td>
<td width="80" align="left">62.874</td>

<td width="90" align="left">$1742.87</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_93_2"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_93_3">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="G"
onclick="handleFromRadioButton('93', 'G','BLUE CHIP GROWTH FUND
','POST-86 AFTER-TAX ')" id="sm_radio_93_3">


<STRONG>&nbsp;
POST-86 AFTER-TAX

ONLY

</STRONG></td>

<td width="80" align="left">164.078</td>
<td width="90" align="left">$4548.24</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_93_3"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_93_4">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="H"
onclick="handleFromRadioButton('93', 'H','BLUE CHIP GROWTH FUND
','ESOP EMPLOYEE ')" id="sm_radio_93_4">

<STRONG>&nbsp;
ESOP EMPLOYEE

ONLY

</STRONG></td>
<td width="80" align="left">19.907</td>
<td width="90" align="left">$551.82</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_93_4"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr class="submenu" id="sm_row1_93_5">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="3"
onclick="handleFromRadioButton('93', '3','BLUE CHIP GROWTH FUND
','GSU ESOP EMPLOYEE ')" id="sm_radio_93_5">


<STRONG>&nbsp;
GSU ESOP EMPLOYEE

ONLY

</STRONG></td>
<td width="80" align="left">4.254</td>
<td width="90" align="left">$117.92</td>
<td width="70" align="left">&nbsp;</td>

</tr>
<tr class="submenu"
id="sm_row2_93_5"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_93_6">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="P"
onclick="handleFromRadioButton('93', 'P','BLUE CHIP GROWTH FUND
','GSU ESOP COMPANY ')" id="sm_radio_93_6">


<STRONG>&nbsp;
GSU ESOP COMPANY

ONLY

</STRONG></td>
<td width="80" align="left">8.617</td>

<td width="90" align="left">$238.86</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_93_6"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_93_7">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="2"
onclick="handleFromRadioButton('93', '2','BLUE CHIP GROWTH FUND
','PRE-87 AFTER-TAX ')" id="sm_radio_93_7">


<STRONG>&nbsp;
PRE-87 AFTER-TAX

ONLY

</STRONG></td>

<td width="80" align="left">36.748</td>
<td width="90" align="left">$1018.65</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_93_7"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>



<tr>
<td id="button_locationI1" colspan="7"><IMG SRC="images/spacer.gif"
HEIGHT=5 BORDER=0 ALT=""></td>
</tr>
<tr class="menu1">

<td align="left" colspan="2">&nbsp;</td>
<td width="80" align="left" valign="bottom"><img
id="menu_row1_I1" src="images/select_button.gif"
onClick="handleSelectButton('I1', 'button_locationI1')" border="0"
/></td>
<td width="250" align="left"> <STRONG><a
href="javascript:prodPopUp('I1')">ENTERGY STABLE INCOME FUND
</a></STRONG></td>
<td width="80" align="left"><STRONG>0.0</STRONG></td>
<td width="90" align="left"><STRONG>$0.0</STRONG></td>
<td width="70" align="left"><STRONG>0.0%</STRONG></td>
</tr>

<tr>
<td colspan="7"><IMG SRC="images/spacer.gif" WIDTH=400 HEIGHT=5
ORDER=0 ALT=""></td>
</tr>


<tr class="submenu" id="sm_row1_I1_0">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="*"
onclick="handleFromRadioButton('I1', '*','ENTERGY STABLE INCOME FUND
','ALL SOURCES ')" id="sm_radio_I1_0">


<STRONG>&nbsp;
ALL SOURCES

</STRONG></td>
<td width="80" align="left">12672.1034</td>

<td width="90" align="left">$97602.22</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_0"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_I1_1">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="A"
onclick="handleFromRadioButton('I1', 'A','ENTERGY STABLE INCOME FUND
','BEFORE-TAX ')" id="sm_radio_I1_1">


<STRONG>&nbsp;
BEFORE-TAX

ONLY

</STRONG></td>

<td width="80" align="left">6879.8594</td>
<td width="90" align="left">$10023.47</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_1"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_I1_2">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="C"
onclick="handleFromRadioButton('I1', 'C','ENTERGY STABLE INCOME FUND
','ESOP COMPANY ')" id="sm_radio_I1_2">

<STRONG>&nbsp;
ESOP COMPANY

ONLY

</STRONG></td>
<td width="80" align="left">15.976</td>
<td width="90" align="left">$241.56</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_2"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr class="submenu" id="sm_row1_I1_3">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="D"
onclick="handleFromRadioButton('I1', 'D','ENTERGY STABLE INCOME FUND
','COMPANY MATCH - PRIOR ')" id="sm_radio_I1_3">


<STRONG>&nbsp;
COMPANY MATCH - PRIOR

ONLY

</STRONG></td>
<td width="80" align="left">2371.605</td>
<td width="90" align="left">$35858.67</td>
<td width="70" align="left">&nbsp;</td>

</tr>
<tr class="submenu"
id="sm_row2_I1_3"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_I1_4">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="G"
onclick="handleFromRadioButton('I1', 'G','ENTERGY STABLE INCOME FUND
','POST-86 AFTER-TAX ')" id="sm_radio_I1_4">


<STRONG>&nbsp;
POST-86 AFTER-TAX

ONLY

</STRONG></td>
<td width="80" align="left">3180.15</td>

<td width="90" align="left">$48083.87</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_4"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_I1_5">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="H"
onclick="handleFromRadioButton('I1', 'H','ENTERGY STABLE INCOME FUND
','ESOP EMPLOYEE ')" id="sm_radio_I1_5">


<STRONG>&nbsp;
ESOP EMPLOYEE

ONLY

</STRONG></td>

<td width="80" align="left">5.044</td>
<td width="90" align="left">$76.27</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_5"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_I1_6">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="3"
onclick="handleFromRadioButton('I1', '3','ENTERGY STABLE INCOME FUND
','GSU ESOP EMPLOYEE ')" id="sm_radio_I1_6">

<STRONG>&nbsp;
GSU ESOP EMPLOYEE

ONLY

</STRONG></td>
<td width="80" align="left">1.056</td>
<td width="90" align="left">$15.97</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_6"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr class="submenu" id="sm_row1_I1_7">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="V"
onclick="handleFromRadioButton('I1', 'V','ENTERGY STABLE INCOME FUND
','COMPANY MATCH-.75 CENTS ')" id="sm_radio_I1_7">


<STRONG>&nbsp;
COMPANY MATCH-.75 CENTS

ONLY

</STRONG></td>
<td width="80" align="left">91.885</td>
<td width="90" align="left">$1389.3</td>
<td width="70" align="left">&nbsp;</td>

</tr>
<tr class="submenu"
id="sm_row2_I1_7"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_I1_8">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="P"
onclick="handleFromRadioButton('I1', 'P','ENTERGY STABLE INCOME FUND
','GSU ESOP COMPANY ')" id="sm_radio_I1_8">


<STRONG>&nbsp;
GSU ESOP COMPANY

ONLY

</STRONG></td>
<td width="80" align="left">2.144</td>

<td width="90" align="left">$32.42</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_8"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_I1_9">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="2"
onclick="handleFromRadioButton('I1', '2','ENTERGY STABLE INCOME FUND
','PRE-87 AFTER-TAX ')" id="sm_radio_I1_9">


<STRONG>&nbsp;
PRE-87 AFTER-TAX

ONLY

</STRONG></td>

<td width="80" align="left">124.384</td>
<td width="90" align="left">$1880.69</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_I1_9"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>



<tr>
<td id="button_location42" colspan="7"><IMG SRC="images/spacer.gif"
HEIGHT=5 BORDER=0 ALT=""></td>
</tr>
<tr class="menu1">

<td align="left" colspan="2">&nbsp;</td>
<td width="80" align="left" valign="bottom"><img
id="menu_row1_42" src="images/select_button.gif"
onClick="handleSelectButton('42', 'button_location42')" border="0"
/></td>
<td width="250" align="left"> <STRONG><a
href="javascript:prodPopUp('42')">NEW HORIZONS FUND
</a></STRONG></td>
<td width="80" align="left"><STRONG>0.0</STRONG></td>
<td width="90" align="left"><STRONG>$0.0</STRONG></td>
<td width="70" align="left"><STRONG>0.0%</STRONG></td>
</tr>

<tr>
<td colspan="7"><IMG SRC="images/spacer.gif" WIDTH=400 HEIGHT=5
ORDER=0 ALT=""></td>
</tr>


<tr class="submenu" id="sm_row1_42_0">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="*"
onclick="handleFromRadioButton('42', '*','NEW HORIZONS FUND
','ALL SOURCES ')" id="sm_radio_42_0">


<STRONG>&nbsp;
ALL SOURCES

</STRONG></td>
<td width="80" align="left">6041.779</td>

<td width="90" align="left">$44990.27</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_42_0"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_42_1">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="A"
onclick="handleFromRadioButton('42', 'A','NEW HORIZONS FUND
','BEFORE-TAX ')" id="sm_radio_42_1">


<STRONG>&nbsp;
BEFORE-TAX

ONLY

</STRONG></td>

<td width="80" align="left">4672.167</td>
<td width="90" align="left">$11215.64</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_42_1"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr class="submenu" id="sm_row1_42_2">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="G"
onclick="handleFromRadioButton('42', 'G','NEW HORIZONS FUND
','POST-86 AFTER-TAX ')" id="sm_radio_42_2">

<STRONG>&nbsp;
POST-86 AFTER-TAX

ONLY

</STRONG></td>
<td width="80" align="left">984.315</td>
<td width="90" align="left">$24273.21</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_42_2"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr class="submenu" id="sm_row1_42_3">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="2"
onclick="handleFromRadioButton('42', '2','NEW HORIZONS FUND
','PRE-87 AFTER-TAX ')" id="sm_radio_42_3">


<STRONG>&nbsp;
PRE-87 AFTER-TAX

ONLY

</STRONG></td>
<td width="80" align="left">385.297</td>
<td width="90" align="left">$9501.42</td>
<td width="70" align="left">&nbsp;</td>

</tr>
<tr class="submenu"
id="sm_row2_42_3"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

</table>
</form>
</body>
</html>
Jul 23 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On 1 Oct 2004 12:52:56 -0700, Zambien wrote:
Here is the html...


All 1600 broken lines of it.

In future, please provide a link, but before you do..

a) Validate your HTML, this is lacking the 'type' attribute..
<SCRIPT LANGUAGE="JavaScript">, whereas this is potentially worse
<script language="javascript1.1" src="js/source_popup.js"></script>

b) TRIM IT! Sheeesh.. You have four groups with 24
options, surely this problem manifests with 2 groups
of just 4 options. Much less code to look through, or
download.

c) Even if you were posting a short example direct to
the group, watch your line length, most news-clients
wrap lines at 72 chars, and while this sometimes does
not cause any problems, it often does.

Check here for tips on preparing examples for others to see.
<http://www.physci.org/codes/sscce.jsp>, and here..
<http://www.spartanicus.utvinternet.ie/help_us_help_you.htm>
(The first is more geared to Java, the second to HTML/CSS,
but both have tips that apply here..)

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
Jul 23 '05 #2

P: n/a
In article <63*************************@posting.google.com> , zambien1977
@yahoo.com enlightened us with...
Hi all,

Here's my problem. I have tables that are using the menu/submenu idea
for hiding rows. This works fine in IE (of course) and does show/hide
correctly in netscape, but as soon as the shown method is called, the
table gets skewed and the presentation of the data on the page goes
horribly wrong. I don't think this is a table issue as I have spent
alot of time staring at this code. Here is the html...

Oh, dear.
What version of Netscape? 4 and 7 are VASTLY different.
Have you tested in Firefox?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
No URL for doctype throws browsers into quirks mode. This is usually not
desirable.

<html>
<head>

<title>Investment Transfer</title>
<META HTTP-EQUIV="Expires" CONTENT="Mon, 03 Mar 1997 01:00:00 GMT">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<script language="javascript1.1">
The language attribute is deprecated. Use type.
type="text/javascript"

</script>
<script language="javascript1.1" src="js/ua.js"></script>
<script language="javascript1.1" src="js/styleLF.js"></script>
<script language="javascript1.1" src="js/source_popup.js"></script>
<script language="javascript1.1" src="js/prod_popup.js"></script>


If your script needs any of these, it'll be pretty hard for us to test it
without it.

That said, trim this script down to a fully testable, SMALLER version that
demonstrates your problem so we can copy it and test it locally.
Trimming it down to the smallest thing needed to demonstrate the problem also
often finds the problem for you. Just make a small table and copy in the
javascript that shows and hides things. Leave off everything else.

1500 lines of code with a bunch of line breaks and functions that aren't
relevant to the problem is a bit hard for us to read, much less help you
debug.
--
--
~kaeli~
Murphy's Law #3020: Quality assurance doesn't.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3

P: n/a
Sorry about that folks! Here's the cut down html, with the changes you
recommended. Thanks for the help so far.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>

<title>Investment Transfer</title>
<META HTTP-EQUIV="Expires" CONTENT="Mon, 03 Mar 1997 01:00:00 GMT">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<SCRIPT LANGUAGE="JavaScript1.1">

function expandMenu(prodcode) {
var closed = new Image();
var opened = new Image();

closed.src = "images/select_button.gif";
opened.src = "images/select_disabled_button.gif";


if(prodcode == "9P") {
document.getElementById("menu_row1_9P").src = opened.src;
document.getElementById("sm_row1_9P_0").style.disp lay = "block";
document.getElementById("sm_row2_9P_0").style.disp lay = "block";
// ensure radio button is not checked
document.getElementById("sm_radio_9P_0").checked = "";

}
else {
document.getElementById("menu_row1_9P").src = closed.src;

document.getElementById("sm_row1_9P_0").style.disp lay = "none";
document.getElementById("sm_row2_9P_0").style.disp lay = "none";

}

if(prodcode == "P9") {
document.getElementById("menu_row1_P9").src = opened.src;
document.getElementById("sm_row1_P9_0").style.disp lay = "block";
document.getElementById("sm_row2_P9_0").style.disp lay = "block";
// ensure radio button is not checked
document.getElementById("sm_radio_P9_0").checked = "";

}
else {
document.getElementById("menu_row1_P9").src = closed.src;

document.getElementById("sm_row1_P9_0").style.disp lay = "none";
document.getElementById("sm_row2_P9_0").style.disp lay = "none";

}

if(prodcode == "G1") {
document.getElementById("menu_row1_G1").src = opened.src;
document.getElementById("sm_row1_G1_0").style.disp lay = "block";
document.getElementById("sm_row2_G1_0").style.disp lay = "block";
// ensure radio button is not checked
document.getElementById("sm_radio_G1_0").checked = "";

}
else {
document.getElementById("menu_row1_G1").src = closed.src;

document.getElementById("sm_row1_G1_0").style.disp lay = "none";
document.getElementById("sm_row2_G1_0").style.disp lay = "none";

}

}

function hideAllSubMenus() {

var closed = new Image();
var opened = new Image();

closed.src = "images/select_button.gif";
opened.src = "images/select_disabled_button.gif";


document.getElementById("menu_row1_9P").src = closed.src;
document.getElementById("sm_row1_9P_0").style.disp lay = "none";
document.getElementById("sm_row2_9P_0").style.disp lay = "none";



document.getElementById("menu_row1_P9").src = closed.src;
document.getElementById("sm_row1_P9_0").style.disp lay = "none";
document.getElementById("sm_row2_P9_0").style.disp lay = "none";



document.getElementById("menu_row1_G1").src = closed.src;
document.getElementById("sm_row1_G1_0").style.disp lay = "none";
document.getElementById("sm_row2_G1_0").style.disp lay = "none";



document.getElementById("menu_row1_9L").src = closed.src;
document.getElementById("sm_row1_9L_0").style.disp lay = "none";
document.getElementById("sm_row2_9L_0").style.disp lay = "none";



document.getElementById("menu_row1_4U").src = closed.src;
document.getElementById("sm_row1_4U_0").style.disp lay = "none";
document.getElementById("sm_row2_4U_0").style.disp lay = "none";
}

function doOnLoad() {
//initArray();
hideAllSubMenus();
clearOtherFrames();
}

// End -->
</script>
</head>

<body onload="setFrmHeight();doOnLoad()">
<form name="FundToFundTransferForm" method="post" target="frame2"
action="fundToFund2.do">

<input type="hidden" name="src_code" value="">
<input type="hidden" name="prd_code" value="">
<input type="hidden" name="src_name" value="">
<input type="hidden" name="prd_name" value="">

<table border="0" cellspacing="0" cellpadding="0">
<!--width="625"-->

<tr>
<td id="button_location9P" colspan="7"><IMG SRC="images/spacer.gif"
HEIGHT=5 BORDER=0 ALT=""></td>
</tr>
<tr class="menu1">
<td align="left" colspan="2">&nbsp;</td>
<td width="80" align="left" valign="bottom"><img id="menu_row1_9P"
src="images/select_button.gif" onClick="handleSelectButton('9P',
'button_location9P')" border="0" /></td>
<td width="250" align="left"> <STRONG><a
href="javascript:prodPopUp('9P')">T II S&P 500 LARGE STOCK
</a></STRONG></td>
<td width="80" align="left"><STRONG>0.0</STRONG></td>

<td width="90" align="left"><STRONG>$0.0</STRONG></td>
<td width="70" align="left"><STRONG>0.0%</STRONG></td>
</tr>
<tr>
<td colspan="7"><IMG SRC="images/spacer.gif" WIDTH=400 HEIGHT=5
ORDER=0 ALT=""></td>
</tr>


<tr class="submenu" id="sm_row1_9P_0">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="*"
onclick="handleFromRadioButton('9P', '*','T II S&P 500 LARGE STOCK
','ALL SOURCES ')" id="sm_radio_9P_0">

<STRONG>&nbsp;
ALL SOURCES

</STRONG></td>
<td width="80" align="left">97.6682</td>
<td width="90" align="left">$2753.17</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_9P_0"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp
;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr>
<td id="button_locationP9" colspan="7"><IMG SRC="images/spacer.gif"
HEIGHT=5 BORDER=0 ALT=""></td>
</tr>
<tr class="menu1">
<td align="left" colspan="2">&nbsp;</td>
<td width="80" align="left" valign="bottom"><img id="menu_row1_P9"
src="images/select_button.gif" onClick="handleSelectButton('P9',
'button_locationP9')" border="0" /></td>
<td width="250" align="left"> <STRONG><a
href="javascript:prodPopUp('P9')">T III SIP SMALLER STOCK
</a></STRONG></td>
<td width="80" align="left"><STRONG>0.0</STRONG></td>

<td width="90" align="left"><STRONG>$0.0</STRONG></td>
<td width="70" align="left"><STRONG>0.0%</STRONG></td>
</tr>
<tr>
<td colspan="7"><IMG SRC="images/spacer.gif" WIDTH=400 HEIGHT=5
ORDER=0 ALT=""></td>
</tr>


<tr class="submenu" id="sm_row1_P9_0">
<td align="left" colspan="3">&nbsp;</td><td width="250"
align="left" valign="bottom">

<input type="radio" name="nothing" value="*"
onclick="handleFromRadioButton('P9', '*','T III SIP SMALLER STOCK
','ALL SOURCES ')" id="sm_radio_P9_0">

<STRONG>&nbsp;
ALL SOURCES

</STRONG></td>
<td width="80" align="left">38.0399</td>
<td width="90" align="left">$2169.87</td>
<td width="70" align="left">&nbsp;</td>
</tr>
<tr class="submenu"
id="sm_row2_P9_0"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp
;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
</table>
</form>
</body>
</html>

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #4

P: n/a
In article <41**********************@news.newsgroups.ws>,
Adam McNeely <za*********@yahoo.com> wrote:
Sorry about that folks! Here's the cut down html, with the changes you
recommended. Thanks for the help so far.

Got an error message the function setFrmHeight() was missing. I added a
dummy one.

Got error message
Error: document.getElementById("menu_row1_G1") has no properties
Source File: file:///Users/mac/Desktop/Try/test.html
Line: 141

Robert
Jul 23 '05 #5

P: n/a
JRS: In article <63*************************@posting.google.com> , dated
Fri, 1 Oct 2004 12:52:56, seen in news:comp.lang.javascript, Zambien
<za*********@yahoo.com> posted :

Here is the html...


If you want your code to be readily copied and tested, you MUST arrange
that no line is long enough for your sending software to break it,
either by narrowing your code or by widening the margin.

If you want your code to be widely read, you MUST, in addition to the
above, make your code lines no longer than about 76 characters, after
tab expansion.

You SHOULD NOT indent code in News by a tab per level, let alone 2,
since most of us are accustomed to two or three spaces per level, and
tabs expanded to 8 spaces. Some readers will not know how to set tabs
while reading, or be unable to; most will not want to bother.

It appears that some of your lines are indented with tabs, and some with
spaces.

Note that while Google may be [equal] best as a Web service for News, it
cannot be as good as well-written news software running, independent of
the Web, on one's own machine.

Your article is also far too long.

--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 23 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.