kbouchafaa wrote:
QUOTE:
I mean where to put that javascript code in the index.php template where? exactly and how
thank you
As to where, generally most scripts are best placed between the <head></head> tags on the page, though most will work when called from anywhere on the page. And in Joomla they tend to be placed in location to where the mambot or module is called rather than the <head> section, though it is possible within a mambot to place the script in the <head> tag. You add the script in the form of:
<script type="text/javascript" src="scriptlocation/mootools.js"></script>
Once you've added the link to the javascript files you can then call it using your mambot/module/component, as this is generally the way one would use it, though it is possible to code features into a template, as I know templates containing menu systems etc rather than using calls to modules.
As to the rest you will need to code some effects for the mootools library or find scripts already done.
Hope this is of some help