This topic is locked

More Javascript Functions

8/31/2007 10:11:52 AM
PHPRunner General questions
F
fsteves author

Right now I have to edit jsquery.js and manually add my extra javascript. Is there a way to make it modular like the rest of the event code, and have a feature to add your own, much like events?
I would include it as part of my header.php, but the pages I need it on do not use a header, as I am using them in greybox.

Sergey Kornilov admin 9/1/2007

Put all javascript code to separate file and include it in header.php.
<script language="JavaScript" type="text/javascript" src="include/myjavascript.js">