Click to See Complete Forum and Search --> : Load Applet onClick image?


SonicAdvDX
02-18-2006, 04:18 AM
Problem Solved, This topic can be closed.


Okay, I've been Googling for this about an hour. Eventually I gave up and here I am, and I need some serious help.

Okay, my site has been crashing several of my viewer's browsers, mainly because they're doing other things on the page while it's still trying to load, and one thing is slowing the load time like mad; my webcam Java Applet. So, I thought of some solutions, and I came up with this: I've heard of the onClick and all that, but I was wondering if you can use an image file as the item that you click on to begin the loading of said applet, and have the applet take the place of the image...

In other words, I want to take this applet code: <applet codebase="http://71.81.46.10:8888" archive="SimpleCamApplet.jar" code="SimpleCamApplet.class" height="116" width="155">
<param name="port" value="8888">
<param name="device" value="AdamLiveStream">
</applet> And use this image (http://armoth.sytes.net:1984/~sonicadvdx/Layout2/adam_live_4.png) as the button that will activate the loading of the applet, and make it go away, or have the applet load on top of it, so it seems as if the applet took the place of the image.

If I could get any help on this is would be so awesome, and I would be eternally greatful.

Thanks a bunch,
~Adam "SonicAdvDX"