Javascript Preamble
The Javascript section of the default and individual module settings allows you to add additional functionality to your SlidePoint modules.
You can use the module’s Javascript to perform an action when the module is first loaded, when a particular slide comes into view, or when the user clicks on an object inside the module.
To run Javascript when the module is first loaded, use the module_load() or jQuery $j(document).ready() functions (examples below in the Examples section).
To run Javascript when a particular slide comes into view, use the “slide_#_onshow()” function (more information on this in both the Available Javascript Functions and Examples sections).
To run Javascript when an object on the slide is clicked, write your custom JavaScript function in the module’s settings and then configure the objects properties to run a custom function under the Selection Click Events window in the SlidePoint Editor.
Listed below are the Javascript functions already built into the module:
The Javascript section of the default and individual module settings allows you to add additional functionality to your SlidePoint modules.
You can use the module’s Javascript to perform an action when the module is first loaded, when a particular slide comes into view, or when the user clicks on an object inside the module.
To run Javascript when the module is first loaded, use the module_load() or jQuery $j(document).ready() functions (examples below in the Examples section).
To run Javascript when a particular slide comes into view, use the “slide_#_onshow()” function (more information on this in both the Available Javascript Functions and Examples sections).
To run Javascript when an object on the slide is clicked, write your custom JavaScript function in the module’s settings and then configure the objects properties to run a custom function under the Selection Click Events window in the SlidePoint Editor.
Listed below are the Javascript functions already built into the module: