• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

page with java will not load properly in Netscape 3.0

I have two pages which have java on them for buttons with sound and they load okay with IE 4.0 but with Netscape 3.0
the background image messes up and the top half of the screen goes white. Here are the urls:
http://users.aol.com/johnH67212/start.htm and
http://users.aol.com/johnH67212/ilx.htm
Can you figure out why it does this?
Will I just have to get Netscape 4.0 to fix it?
I think my java is not in the right order or something.
Maybe I should put it before the <body> tag!
Good Luck
0
johnh619
Asked:
johnh619
  • 3
  • 2
1 Solution
 
j_powersCommented:
One thing about Netscape is that it is more unfogiving than IE. I loaded both pages up in IE and NS, and no java class. It looks like the .class file is not found, but IE knows where it is on your computer, therefore, you see the java.

If you can do this, create a folder called 'java'. put the .class files in there, then modify the code like this:

<applet code="cbutton.class" codebase="java" (then, whatever else) >

codebase tells the browser where the .class is. you could use the java folder, or point it to something like http://www.here.com.

Good luck.
0
 
johnh619Author Commented:
Maybe you did not notice the background problem or I do not understand what you are saying. I thought the thing did find the
java applet for the button in netscape, and that really it had
blanked out the background from loading at the page top and the
bottom of the page background did load.
0
 
j_powersCommented:
When I went to your page, the applet did not even load up (netscape or IE). I then searched my hard drive for that .class file (because once it loads, it gets cached on the computer), but it was not on my computer.

I suggested that maybee you have the .class file on your computer so when IE loads, it sees the file, and runs the applet. I have had that happen to me when I use frontpage. If I make a imagemap, the file will point to my harddrive, and only I will be able to see it.

Try the codebase, and let me know what happens. I would also suggest seeing if case - sensitivity is important in the filename. Applets can be soo tricky sometimes, but once they begin to work, they are great.
0
 
johnh619Author Commented:
Still you did not tell me what you thought about the background
messing up. I suspect from what you said that you did not see the
background mess up. I get the applet for the sound effect button to load I believe okay, but the background and basically the entire image in the window when loading begins is whited out and
then I scroll down and see the page looking okay; sometimes I
can scroll back up and the top part will look okay but sometimes it is just all white or maybe some gray sqaures where the buttons
are. I am still confused, but thanks anyway.
0
 
j_powersCommented:
OK. before, I was not getting the java at all. Now, I was able to get the java.

I went to the site that this code came from (http://www.coolshare.com/my-cgi-bin/page_c.cgi?Name=app_cb.htm), and checked it out in Netscape. The exact same error appeared on the creator's page as did yours. While reading the page, he mentioned that there are bugs in this applet. I think there is nothing wrong with what you put down, and that the code is erroring out in Netscape (which can be fixed in a java applet editor program). Here is an excerpt from Coolshare on reporting a problem, & the email address.

Please describe              
 - which step you have reached
             
- the errors you get in details(If you use Netscape, click at menu item Option | Show Java Console and copy-paste-EMail the content there to Mark).    
         
markqian@coolshare.com

Good Luck.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now