We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Template for exporting apps (Read 1489 times)
Template for exporting apps
May 9th, 2006, 3:10pm
 
Hello everybody.

I have searched for this topic but didn't found a hit, so I am suggesting this idea to discuss it in the forum.

Does anyone believes it would be good to have a template to create the HTML to export the applets?

I am taking about something simple, like a html file with strings to get replaced upon exporting, or a similar mechanism.

Thanks for your attention, and for P5.

Regards...
Re: Template for exporting apps
Reply #1 - May 9th, 2006, 6:04pm
 
Just edit applet.html (or applet-opengl.html) in the lib/export folder.

Alternatively, I believe you can copy applet.html to the sketch folder if you want to make a custom one for a particular sketch.  I don't remember the details on doing the latter, though.

Marcello
Re: Template for exporting apps
Reply #2 - May 9th, 2006, 6:47pm
 
Hello Cello.

I didn't knew but it was already done. Thanks for your great tip. Smiley

Reagrds...
Page Index Toggle Pages: 1