Solved

page with java will not load properly in Netscape 3.0

Posted on 1998-12-14
5
190 Views
Last Modified: 2010-04-09
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
Comment
Question by:johnh619
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
j_powers earned 50 total points
ID: 1840649
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
 

Author Comment

by:johnh619
ID: 1840650
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
 
LVL 5

Expert Comment

by:j_powers
ID: 1840651
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
 

Author Comment

by:johnh619
ID: 1840652
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
 
LVL 5

Expert Comment

by:j_powers
ID: 1840653
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question