Forum Moderators: open

Message Too Old, No Replies

Need help quick!

snow applet won't load image

         

webmstr

11:38 pm on Jan 7, 2006 (gmt 0)

10+ Year Member



I have a "blending slide show" drom Dynamic Drive and am trying to insert the code etc for another image on the page to have snow over it...but I can't get it to work. I have the .jar file uploaded....also the image is in the same folder as the .html and both are loaded on the server....I have the applet code in the right place, but I get this error message about the applet failing to load:

java.lang.NumberFormatException: For input string: "<%=i%>"

Is this some sort of conflict by having too much java on a page?

any help is appreciated as I would like to get this to work by tomorrow. Also, I would be willing to ditch this whole idea and go with Flash MX if there is such a quick way to create the snow effect there.

tedster

5:37 am on Jan 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is this some sort of conflict by having too much java on a page?

I can't tell you where the problem lies for sure - but that is a java applet and not javascript. These are two very different technologies. From that error message, it sounds like the problem is within the java itself.

There are some javascript snow effects available around the web - you may have better luck integrating one of those.

webmstr

7:08 pm on Jan 8, 2006 (gmt 0)

10+ Year Member



Thank you, and you were right. After trying four different applets, the last one worked without any problems. So I guess there was just some faulty programming out there. Cheers!