2 * This javascript is to perform the functionalities that are required to implement
\r
3 * the add-on content tool.
\r
5 * Register this javascript @ module.php => $this->_content_tools["js"]
\r
13 ATutor = ATutor || {};
\r
14 ATutor.mods = ATutor.mods || {};
\r
15 ATutor.mods.hello_world = ATutor.mods.hello_world || {};
\r
18 var helloWorldOnClick = function () {
\r
19 alert("Clicked on hello world tool icon!");
\r
22 //set up click handlers and show/hide appropriate tools
\r
23 var initialize = function () {
\r
24 jQuery("#helloworld_tool").click(helloWorldOnClick);
\r
27 jQuery(document).ready(initialize);
\r