With a custom site wide javascript override running:
includes/templates/{template_directory}/jscript/jscript_my_java_file.js
I have read that its possible to have On Load Javascript for specific pages:
so when that one page loads it loads a javascript function for that page onlyFor page-specific operation, put the file under the /includes/modules/pages/{pagename}/ folder.
NOTE: on_load_*.js files must contain ONLY the raw code to be inserted in the <body> tag in the on_load="" parameter.
correct?
So then would it be possible to do the same with the category pages? as they are not listed in the /includes/modules/pages folder.
Ideally I would like a onclick javascript function when a certain category is clicked on in the category sidebox.
is that possible????
ex.
Category sidebox > click on category1 button:
http://YOURSITE.com/index.php?main_page=index&cPath=1
(javascript A loads)
Category sidebox > click on category2 button:
http://YOURSITE.com/index.php?main_page=index&cPath=2
(javascript B loads)
etc..



