?
Solved

page with java will not load properly in Netscape 3.0

Posted on 1998-12-14
5
Medium Priority
?
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

752 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