According to another question, you can view your skin with this code:
<applet code="net.minecraft.skintest.ModelPreviewApplet"
archive="http://www.minecraft.net/skin/skintest.jar" codebase="."
width="320" height="320">
<param name="name" value="535" />
</applet>
Which works!
But does anyone knows how i can make a textbox and a button which puts the written text in the value="535" tag (replaces “535” with the text box input)?
Link to the other question: Is there a web-embeddable skin preview application?
You can write your applet into the DOM at run-time like this:
Strangely enough, the applet doen’t seem to like values other than “525”