Can anyone tell me why a particular jscript wont load?
I have template_default/jscript/jscript_imagehover.js
The browser doesn't load this file.
I have verified that the file is actually on my server and not just local.
See my test site
Can anyone tell me why a particular jscript wont load?
I have template_default/jscript/jscript_imagehover.js
The browser doesn't load this file.
I have verified that the file is actually on my server and not just local.
See my test site
I believe that one the js should be in includes/templates/NAHID_ARTISTIC/js/
Second - have you installed other associated files that would load this js as I assume that it is part of a module and if IH2 did you configure it in the admin?
Zen-Venom Get Bitten
I'll try moving it my override folder, but I just followed the install instructions. I've installed the associated IH2 files and it's working except that the hover does work because this js is not loadin.
I moved the file to the override jscript folder and the hover works.
Shouldn't jscript files in the template_default/jscript run as well?
There are some quirks???I moved the file to the override jscript folder and the hover works.
Shouldn't jscript files in the template_default/jscript run as well?
Zen-Venom Get Bitten
sorry, wasn't sure where to post but my problem is sort of similar...
i initially had some problems with loading js files, and eventually gave up and just loaded them manually through includes/templates/MYTEMPLATE/common/html_header.php
i then found out about stylesheets loading automatically if there was a particular aming convention used, and wondered if this was the case with js files?
exactly how do i get them to load automatically, or is this not possible?
cheers
andy
@ ALiepinieks: May be you need to read some code from 'html_header.php' file which lie in your current template.
For more, read the definition of get_template_part and get_template_dir these two crucial functions.![]()
nice work : )
i saw the function calls, but never read the comments... now i feel a little silly.
thanks
andy
yes, thank you.
didn't see the prefix "jscript_" was required, now everything is good
cheers again
andy