Improve company productivity with a Business Account.Sign Up

x
?
Solved

page with java will not load properly in Netscape 3.0

Posted on 1998-12-14
5
Medium Priority
?
226 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 150 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

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

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

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

595 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