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.
IndexProgramming Questions & HelpIntegration › applet.html documentation
Page Index Toggle Pages: 1
applet.html documentation (Read 467 times)
applet.html documentation
Mar 11th, 2009, 9:36pm
 
I've been modifying applet.html lately for web development and had some questions. I have saved a copy of the file that comes with Processing and put the modified copy in the lib/export folder so it effects all sketches.

My question is about the variables like @@source@@ and the rest. I need to change the references in the links to the source code. This works fine if I have just one source file:
Code:
Source code: <a href="@@sketch@@/@@sketch@@.pde">@@sketch@@</a> 


But if I have more than one I have to use @@source@@ which automatically generates the links with a relative reference.

Is there any way to alter how these links are generated?
Page Index Toggle Pages: 1