Solved

page with java will not load properly in Netscape 3.0

Posted on 1998-12-14
5
160 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now