In an HTML doc I would place this is the head section of the document. like <script type="text/javascript">window.onload=function etc. </script>
Have had no luck doing so with the PHP ' includes system ' inserting in 'html_header.php'
Suggestions ?
In an HTML doc I would place this is the head section of the document. like <script type="text/javascript">window.onload=function etc. </script>
Have had no luck doing so with the PHP ' includes system ' inserting in 'html_header.php'
Suggestions ?
Have you tried the Zen Cart system described in the wiki?
http://www.zen-cart.com/wiki/index.p...s_-_Javascript
Site-Wide jscript's
jscript*.js files -- to be "linked" by your site
Any file in the includes/templates/{template_directory}/jscript/ directory with the following filename format will be loaded globally on every page of your shop:
jscript_{unique_name}.js
(where {unique_name} can be anything you want)
Effectively, the file will be loaded as if you had inserted the following into an HTML page:
<script language="javascript" src="includes/templates/{template_directory}/jscript/jscript_{unique_name}.js"></script>
yes I have.Successfully with a copywright script but unsuccessfully with this particular script--> will check my typing and repost