Solved

Java applet and loading faster  Help please

Posted on 2000-04-26
1
275 Views
Last Modified: 2009-07-29
First of all hello. Second of all I am new to the java language and need a litle help. I am using microsoft frontpage and used the hover button feature to make a java applet. got it like i want it and I have like another 18 of them that are just like it. i takes for ever for the applets to load. is there any way that i can change the code up to get it to load faster. Like call the class once and/or the jpgs once also. Any help will be appreciated. part of my code follows.



<p align="left" style="line-height: 100%">
<span style="position: absolute; left: 12; top: 148">
<applet code="fphover.class" codebase="./" width="212" height="24">
  <param name="hovercolor" value="#0000FF">
  <param name="color" value="#2124CE">
  <param name="textcolor" value="#FFFF00">
  <param name="image" valuetype="ref" value="button1.jpg">
  <param name="hoverimage" valuetype="ref" value="button2.jpg">
  <param name="font" value="Helvetica">
  <param name="fontstyle" value="bold">
  <param name="fontsize" value="14">
  <param name="target" value="main">
  <param name="text" value="General Information">
  <param name="url" valuetype="ref" value="general.htm">
 </applet>
</span>

<p align="left" style="line-height: 100%">
<span style="position: absolute; left: 12; top: 172">
<applet code="fphover.class" codebase="./" width="212" height="24">
  <param name="hovercolor" value="#0000FF">
  <param name="color" value="#2124CE">
  <param name="textcolor" value="#FFFF00">
  <param name="effect" value="glow">
  <param name="image" valuetype="ref" value="button1.jpg">
  <param name="hoverimage" valuetype="ref" value="button2.jpg">
  <param name="font" value="Helvetica">
  <param name="fontstyle" value="bold">
  <param name="fontsize" value="14">
  <param name="text" value="Elementary Schools">
  <param name="url" valuetype="ref" value="elem/elemzones.html">
  <param name="target" value="main">
</applet>
</span>
</p>

<p align="left" style="line-height: 100%">
<span style="position: absolute; left: 12; top: 196">
<applet code="fphover.class" codebase="./" width="212" height="24">
  <param name="hovercolor" value="#0000FF">
  <param name="color" value="#2124CE">
  <param name="textcolor" value="#FFFF00">
  <param name="effect" value="glow">
  <param name="image" valuetype="ref" value="button1.jpg">
  <param name="hoverimage" valuetype="ref" value="button2.jpg">
  <param name="font" value="Helvetica">
  <param name="fontstyle" value="bold">
  <param name="fontsize" value="14">
  <param name="text" value="Junior Schools">
  <param name="url" valuetype="ref" value="jrhigh/juniorzones.html">
  <param name="target" value="main"></applet>
</span>
</p>
 

etc, etc, etc!
Thanks,
Matt
teners69@aol.com
0
Comment
Question by:teners69
[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
1 Comment
 
LVL 1

Accepted Solution

by:
yatest5 earned 75 total points
ID: 2758702
Applets are notoriously slow so using so many is not really advisable.  It's better to use something like JavaScript for simple effects on the screen although I haven't used this particular object so I don't know what it does.

Applets are kept in the IE and NN cache so your page should load substantially faster after the first time.

Cheers,

Tom
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

717 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