Gordo
08-22-2002, 08:29 AM
Quick background. I've been trying to put an iframe/ilayer/layer/whatevers on a page. But because of the positioning of it, Netscape 4.x just couldn't handle what I needed it to do. So...
I've added some JS to the page for the links that I want Netscape 4.x to use. It works great. But, the second set of text/links are also visible. What can I add so that these second set of links aren't seen/used by N4.x users?
I felt this was better than simply redirecting to a new page. This way, I just have to update one page (two spots) rather than two pages. But now I'm thinking the redirection for N4.x users might be the lesser of two evils. What do you think?
Here's most of the code in question (ugly as it may be):
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr>
<td valign="top" nowrap>
<p><img src="../images/services_222x61.jpg" width="222" height="61" border="0"><br>
<!-- BEGIN SPECIAL LINKS FOR NETSCAPE 4.X USERS -->
<script language="JavaScript">
<!--
if (document.layers) {
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="financial_audits_reviews.html">Financial Audits and Reviews</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="compilation_write_up.html">Compilation & Write-Up</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="high_tech_services.html">High Tech Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="lending_services.html">Lending Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="performance_improvement.html">Performance Improvement</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="financial_projections_and_forecasts.html">Financial Projections and Forecasts</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="investment_advisory_services.html">Investment Advisory Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="tax.html">Tax</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="mergers_acquisition_consulting_due_diligence.html">Mergers and Acquisition Consulting and Due Diligence</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="sec_small_business_filers.html">SEC Small Business Filers</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="tax_return_preparation_services.html">Tax Return Preparation Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="controllership_start_up_services.html">Controllership and Start Up Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="services_audit_committees_public_companies.html">Services for Audit Committees of Public Companies</a></p>');
}
//-->
</script>
<!-- END SPECIAL LINKS FOR NETSCAPE 4.X USERS -->
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="financial_audits_reviews.html" target="content">Financial Audits and Reviews</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="compilation_write_up.html" target="content">Compilation & Write-Up</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="high_tech_services.html" target="content">High Tech Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="lending_services.html" target="content">Lending Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="performance_improvement.html" target="content">Performance Improvement</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="financial_projections_and_forecasts.html" target="content">Financial Projections and Forecasts</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="investment_advisory_services.html" target="content">Investment Advisory Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="tax.html" target="content">Tax</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="mergers_acquisition_consulting_due_diligence.html" target="content">Mergers and Acquisition Consulting and Due Diligence</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="sec_small_business_filers.html" target="content">SEC Small Business Filers</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="tax_return_preparation_services.html" target="content">Tax Return Preparation Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="controllership_start_up_services.html" target="content">Controllership and Start Up Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="services_audit_committees_public_companies.html" target="content">Services for Audit Committees of Public Companies</a></p>
</td>
<td valign="top" width="100%">
<img src="../images/1x1.gif" width="1" height="10" border="0"><br>
<nolayer>
<iframe name="content" id="content" style="position:relative; width:100%; height:200" src="blank_page.html" scrolling="auto" frameborder="0"></iframe>
</nolayer>
</td>
</tr>
</table>
I've added some JS to the page for the links that I want Netscape 4.x to use. It works great. But, the second set of text/links are also visible. What can I add so that these second set of links aren't seen/used by N4.x users?
I felt this was better than simply redirecting to a new page. This way, I just have to update one page (two spots) rather than two pages. But now I'm thinking the redirection for N4.x users might be the lesser of two evils. What do you think?
Here's most of the code in question (ugly as it may be):
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr>
<td valign="top" nowrap>
<p><img src="../images/services_222x61.jpg" width="222" height="61" border="0"><br>
<!-- BEGIN SPECIAL LINKS FOR NETSCAPE 4.X USERS -->
<script language="JavaScript">
<!--
if (document.layers) {
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="financial_audits_reviews.html">Financial Audits and Reviews</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="compilation_write_up.html">Compilation & Write-Up</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="high_tech_services.html">High Tech Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="lending_services.html">Lending Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="performance_improvement.html">Performance Improvement</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="financial_projections_and_forecasts.html">Financial Projections and Forecasts</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="investment_advisory_services.html">Investment Advisory Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="tax.html">Tax</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="mergers_acquisition_consulting_due_diligence.html">Mergers and Acquisition Consulting and Due Diligence</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="sec_small_business_filers.html">SEC Small Business Filers</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="tax_return_preparation_services.html">Tax Return Preparation Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="controllership_start_up_services.html">Controllership and Start Up Services</a><br>');
document.writeln('<img src="../images/1x1.gif" width="1" height="7" border="0"><br>');
document.writeln('<a href="services_audit_committees_public_companies.html">Services for Audit Committees of Public Companies</a></p>');
}
//-->
</script>
<!-- END SPECIAL LINKS FOR NETSCAPE 4.X USERS -->
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="financial_audits_reviews.html" target="content">Financial Audits and Reviews</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="compilation_write_up.html" target="content">Compilation & Write-Up</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="high_tech_services.html" target="content">High Tech Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="lending_services.html" target="content">Lending Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="performance_improvement.html" target="content">Performance Improvement</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="financial_projections_and_forecasts.html" target="content">Financial Projections and Forecasts</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="investment_advisory_services.html" target="content">Investment Advisory Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="tax.html" target="content">Tax</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="mergers_acquisition_consulting_due_diligence.html" target="content">Mergers and Acquisition Consulting and Due Diligence</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="sec_small_business_filers.html" target="content">SEC Small Business Filers</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="tax_return_preparation_services.html" target="content">Tax Return Preparation Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="controllership_start_up_services.html" target="content">Controllership and Start Up Services</a><br>
<img src="../images/1x1.gif" width="1" height="7" border="0"><br>
<a href="services_audit_committees_public_companies.html" target="content">Services for Audit Committees of Public Companies</a></p>
</td>
<td valign="top" width="100%">
<img src="../images/1x1.gif" width="1" height="10" border="0"><br>
<nolayer>
<iframe name="content" id="content" style="position:relative; width:100%; height:200" src="blank_page.html" scrolling="auto" frameborder="0"></iframe>
</nolayer>
</td>
</tr>
</table>