1
Simple question but I am really stuck!
I would like to create a simple DHTML script. The script should open a pop-up window when clicking upon an icon and retrieve data. The parent script works flawlessly.
This is my first attempt at customizing Xoops. After searching through the forums for some jscript snippets, I created a module and associated php files. But parts of the puzzle are missing.
Currently, I have a module (..\modules\mod1) with a subdir (code1) to hold the js code and the icons. The php file is the standard module with some html code sandwiched between the php head and footer blocks.
Problems:
1. XOOPS only shows the input field, not the icon.
2. The url 'Click here!' shows up, but the jscript code does not run.
Is there somewhere an easy-to-follow example that explains the basics of integrating jscript into Xoops?
Thanks for any links and/or advice.
Mark
Procedure details (for the interested!):
a. Created a private module (../modules/mod1) with an index file (../modules/mod1/index.php). Added the following html code:
...
Input date:
....
b. Declared the jscript file in 'theme.html' as follows: