This topic is locked

include a custom javascript

8/8/2010 7:52:54 AM
PHPRunner General questions
W
webdino author

Hello,
how can I include my own javascripts in all of the PHPR pages
I think I must change the source files, but I don´t know whicht files I have to change,

I like to include a help function for the user like overlib from Eric Bosrup
Thank you

A
ann 8/9/2010

Hi,
you can add it to the JavaScript Onload Event on the Events tab or to the HTML mode on the Visual Editor tab (inside <script> tag) for each page.

W
webdino author 8/9/2010

I will include it in each page must I write it therefore in any of my pages?

J
Jane 8/10/2010

Hi,
you can add your own functions to the PHPRunner5.2/source/include/common/jsfunctions.js file and then use it in your events (JavaScript onload event on the Eventstab).