473,499 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

java error in IE6 but not Firefox

Hi

anyone know what the java error is on this page?
http://www.s-nta.org.uk/index.html

Mark

Dec 16 '05 #1
5 2972
Mark D Smith said the following on 12/16/2005 11:54 AM:
Hi

anyone know what the java error is on this page?
http://www.s-nta.org.uk/index.html

Yes, it is an error produced by the browser to indicate that whoever
wrote that script didn't bother to learn what they were doing. Besides,
there is no Java in that page that I see. Some crappy Javascript though.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 16 '05 #2
"Randy Webb" <Hi************@aol.com> wrote in message
news:KJ******************************@comcast.com. ..
Mark D Smith said the following on 12/16/2005 11:54 AM:
Hi

anyone know what the java error is on this page?
http://www.s-nta.org.uk/index.html

Yes, it is an error produced by the browser to indicate that whoever
wrote that script didn't bother to learn what they were doing. Besides,
there is no Java in that page that I see. Some crappy Javascript though.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -

http://www.JavascriptToolbox.com/bestpractices/

Its not me that wrote the code or the site, just trying to help the site
owner.
i always get java / JavaScript mixed up.
so do you have any ideas what's wrong and how to fix it?

Mark

Dec 16 '05 #3
VK
> error in IE6 but not Firefox

If something doesn't work - blame on IE ;-)

It doesn't work in any browser, just IE is more "visual" - the red sign
in the status.

All browsers complain that 'wp_menus' is undefined and it is indeed
undefined.

You assign:
var wp_menubar0 = new wp_menus();
in the page script but neither on the page nor in libraries you don't
have a matching constructor.

Also note that you shouldn't change protototype of something you did
not create yet:
....
menus.prototype.m_widthOfImage = 0;
menus.prototype.m_type = 0;
function menus() {}
....

Also your document contains some binary trash before <title>. In
Firefox it looks like [square]>>[square] at the top of the page.
Usually such "trash combination" appears if one tried to read a binary
file as text stream. Have no idea about your situation but it should be
fixed.

Dec 16 '05 #4
Ian
Mark D Smith wrote:
Hi

anyone know what the java error is on this page?
http://www.s-nta.org.uk/index.html

Use Tools->JavaScript Console if Firefox to see the errors.

Ian
Dec 16 '05 #5
"Ian" <ia******@hotmail.com> wrote in message
news:11***************@drone2-svc-skyt.qsi.net.nz...
Mark D Smith wrote:
Hi

anyone know what the java error is on this page?
http://www.s-nta.org.uk/index.html

Use Tools->JavaScript Console if Firefox to see the errors.

Ian


Thanks for that.

I have past the problem back to the author of the site as i do not know
where he got the JavaScript but i googled the jsmenu.js and found a
reference to a serif forum which as i know he uses serif i have past the
info on to him.

Mark

Dec 17 '05 #6

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

Similar topics

3
8199
by: Don | last post by:
Hi, I try to get a simple applet working, the class-file does load, but the image doesn't appear;( An error doesn't appear. The view is and stays 'grey' What I want: Automatic refresh of a...
1
2061
by: Guillaume CABANAC | last post by:
Hi folks, Is liveconnect still available in Firefox as it is in NS Navigator ? I would like to call Java code from JavaScript in Firefox... Do you think it is possible with liveconnect ? Does...
0
1568
by: autogoor | last post by:
I want to put a java Applet in a jsp page. Here is what I used: <jsp:plugin type="applet" code="mypackage.myApplet" width="450" height="350" > <jsp:params>...</jsp:params>
458
20769
by: wellstone9912 | last post by:
Java programmers seem to always be whining about how confusing and overly complex C++ appears to them. I would like to introduce an explanation for this. Is it possible that Java programmers...
0
955
by: andddlay | last post by:
Hi, I'm not totally sure if this is where to post this, so I am sorry if this isn't... Anyway... I have been having lots of trouble with Java on my Windows XP. Bottom line, it doesn't work. I...
1
3878
by: JOJO123 | last post by:
I got here in search of an answer to this Javascrpt question. I upgraded jave on XP Ie 7, acrobat 5.1 and suddenly can't open any pdf files on web sites using IE. I see u guys all say, this is a...
5
6574
by: CoolForU | last post by:
this is my code and i call this code from code behinde file on page load like this useragree.Attributes.Add("onclick", "CheckSelection();") this is working fine with IE but not working with...
2
1893
by: humberto.bortolossi | last post by:
Greetings! I'm trying to control Java Applets using JavaScript. However, the standard recipes don't work under XHTML (they work well within HTML). See, for instance, the code ...
5
10757
madzman23
by: madzman23 | last post by:
Hi guyz, I kinda new here and I dont know if there is post that similar to my question, because I really needed immediately I am posting my question. Can anyone here help me how to call a Java...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7223
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
6899
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
5475
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,...
0
4602
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
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.