?
Solved

Java applet and loading faster  Help please

Posted on 2000-04-26
1
Medium Priority
?
277 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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
Suggested Courses

762 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