Computer Hope
Internet & Networking => Web design => Topic started by: sbmerk on December 28, 2017, 10:42:01 PM
-
I am trying to set up a banner with 6 rotating images in it and I have the following code entered into my doc:
<applet code="fprotate.class" codebase="../../" width="450" height="200">
<param name="rotatoreffect" value="dissolve">
<param name="time" value="5">
<param name="image1" valuetype="ref" value="walkway.jpg">
<param name="image2" valuetype="ref" value="couchX.jpg">
<param name="image3" valuetype="ref" value="party1.jpg">
<param name="image4" valuetype="ref" value="patio.jpg">
<param name="image5" valuetype="ref" value="table.jpg">
<param name="image6" valuetype="ref" value="spring-pathx.jpg">
</applet>
However, the photos do not show up on the webpage http://riverbend-lwva.org/images/photos/index.htm
What am I missing?
-
I'd strongly advise against using a Java applet for this and instead find a Javascript based solution. Java applets are a significant security vulnerability and most (all?) modern browsers will require the user to explicitly allow Java to run on a given web page. Many PCs and pretty much all mobile devices will not have Java available to run applets anyway. While they were somewhat popular many years ago, nowadays it is extremely rare to see Java applets on public facing websites.
-
Is this thing on You Tube like what you are doing?
https://www.youtube.com/watch?v=PN0ZorJpBYc
It is a simple slide show with HTNL and javascript.