473,473 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

My HTML doesnot work in Netscape

Hi,
My HTML page doesnot work properly in Netscape 7.1. But works fine
in Opera 7 and IE 6.0. I could not figure out the problem. If any one
could/suggest it would be nice.. This piece of HTML describes a tree
like structure of the contents.

Thanks
venkat.

------
myhtml
------


<html>
<head>
<title>Quality Management System</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body leftmargin="0" bottommargin="0" marginheight="0"
topmargin="0">
<script LANGUAGE="JavaScript">
<!--
var img1, img2;
img1 = new Image();
img1.src = "images/icon_plus.gif";
img2 = new Image();
img2.src = "images/icon_minus.gif";

document.onclick = doOutline;

function doOutline()
{
var targetId, srcElement, targetElement;
srcElement = window.event.srcElement;

if (srcElement.className == "LEVEL1")
{
srcElement = srcElement.id;
srcElement = srcElement.substr(0, srcElement.length-1);
targetId = srcElement + "s";
srcElement = srcElement + "i";

srcElement = document.all(srcElement);
targetElement = document.all(targetId);
if (targetElement.style.display == "none")
{
targetElement.style.display = "";
if (srcElement.className == "LEVEL1")
{
srcElement.src = "images/icon_minus.gif";
}
}
else
{
targetElement.style.display = "none";
if (srcElement.className == "LEVEL1")
{
srcElement.src = "images/icon_plus.gif";
}
}
}
}
//-->
</script>
<script language="JavaScript">
function clickthis(k)
{
var k;
window.open(k.title);

}
</script>
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
<!-- Main Table with two columns 30% and 70%-->
<tr >
<td width="25%" >&nbsp; </td>

<td width="75%" >
<table width="100%" height="100%" border= "0">
<tr ><!-- Logo-->
<td height="25%" align="center">&nbsp;</td>
</tr>
<tr>
<tr>
<td height="74%" valign="top" class="clsvalue" ><br>
<font face="verdana" size="1" style="cursor:hand; color:#AA0000;">
<br />
<img src="images/icon_plus.gif" CLASS="LEVEL1"
style="cursor:hand;" WIDTH="9" HEIGHT="9" HSPACE="2" VSPACE="4"
ALIGN="ABSMIDDLE" id="OUT12i" />
<b>
<span CLASS="LEVEL1" id="OUT12t">Process for Continual Improvement
</span>
</b>
<br />
<div style="display:none" id="OUT12s">
<img src="images/filler.gif" width="22" height="12"
ALIGN="ABSMIDDLE" />

<a CLASS="LEVEL2" href="#"
onclick="javascript:clickthis(this)" id="OUT21t" title="qms/CIM/CIM
1.0.doc">Process
</a><br />
</div>
<img src="images/icon_plus.gif" CLASS="LEVEL1"
style="cursor:hand;" WIDTH="9" HEIGHT="9" HSPACE="2" VSPACE="4"
ALIGN="ABSMIDDLE" id="OUT13i" />
<b>
<span CLASS="LEVEL1" id="OUT13t">Process for Construction
</span>
</b>
<br />
<div style="display:none" id="OUT13s">
<img src="images/filler.gif" width="22" height="12"
ALIGN="ABSMIDDLE" />

<a CLASS="LEVEL2" href="#"
onclick="javascript:clickthis(this)" id="OUT21t"
title="qms/Construction/CON 1.1.doc">Process
</a><br />

<img src="images/filler.gif" width="22" height="12"
ALIGN="ABSMIDDLE" />

<a CLASS="LEVEL2" href="#"
onclick="javascript:clickthis(this)" id="OUT22t"
title="qms/Construction/Template for Code Walk Thru
Report.doc">Template for code walk thru
</a><br />
</div>
<div style="display:none" id="OUT122s"><br />
</div>
</font>
</td>
</tr>
<!-- Footer part-->
<tr>
<td height="1%" align="center" class="clsfooter">&nbsp;</td>
</tr>
</table>
</td>
</tr>

</table>

</body>
</html>
Jul 20 '05 #1
2 2057
Venkat wrote:
Hi,
My HTML page doesnot work properly in Netscape 7.1. But works fine
in Opera 7 and IE 6.0. I could not figure out the problem. If any one
could/suggest it would be nice..


Venkat,

Please learn two things :
1/ how to ask smart questions
2/ how to post in the appropriate newsgroup.

instead of :
1/ saying 'my code doesn't work'
2/ posting an HTML/Javascript browser compatibility in a newsgroup
dedicated to XML.

Imaging you are going to your butcher and ask him why your car doesn't
work...

Bruno
PS : google may help you finding out how to ask smart questions and
finding the appropriate newsgroup.

Jul 20 '05 #2
On Sun, 14 Sep 2003 00:02:53 +0200, Bruno Desthuilliers
<bd***********@removeme.free.fr> wrote:
Venkat wrote:
Hi,
My HTML page doesnot work properly in Netscape 7.1. But works fine
in Opera 7 and IE 6.0. I could not figure out the problem. If any one
could/suggest it would be nice..


Venkat,

Please learn two things :
1/ how to ask smart questions
2/ how to post in the appropriate newsgroup.

instead of :
1/ saying 'my code doesn't work'
2/ posting an HTML/Javascript browser compatibility in a newsgroup
dedicated to XML.

Imaging you are going to your butcher and ask him why your car doesn't
work...

But - having said all that (all of which is very much valid) - the
crunch comes down to you using "document.all" throughout your code.

FYI, "document.all" is a non-standard, Microsoft-proprietary,
extension to the DOM that Javascrip can manipulate to mess around with
the document content. In other words - it is supposed to work with
Microsoft stuff. It is _not_ supposed to work with the rest (though
others - such as specifically Opera - also use it).

That is the main problem you have in your code.
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
1
by: v_verno | last post by:
Good day, I have a web page that shows info retrieved from a MySQL db and I would like to convert all these data into an .XLS file. Have searched the net high and low but seems that I'm unable to...
9
by: ALuPin | last post by:
Hi newsgroup users, I have the following java-script: </SCRIPT> </head> <body text='' link='' vlink='' alink='' bgcolor='FFFFFF'> <p> <center><TABLE cellSpacing=1 cellPadding=1...
9
by: Arash Dejkam | last post by:
Hi All, Is it possible to write on an <OBJECT type="text/html"> using document.write() from within the html containing that tag the way we write on a popup window? I couldn't do that after a lot...
4
by: Newbie | last post by:
How would I modify this form to encode *all* the characters in the 'source' textarea to the '%xx' format & place result code into the 'output' textarea? (cross browser compatable) Any help is...
10
by: VictorG | last post by:
Hello, I am new to JS and am trying to add some HTML into a JS function. So that when called the script as well as the HTML will be invoked. Is there some type of embed mechanism, sort of the...
9
by: Veerle | last post by:
Hi, I would like to divide the whole of my html page in 4 equal rectangles using only div tags in my html. The result should look a bit like this site:...
17
by: chris.schwalm | last post by:
I would like to first state that I have searched through the archives and found a lot of related material, but am still new enough to javascript that I can't fit all the pieces together yet. So...
1
by: kevin.a.sweeney | last post by:
I would like to open an application from a hyperlink on a webpage. 1. the webpage is located on my local machine. 2. the application is located on my local machine. 3. the application will run...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.