Hi,
it's diffcult to guess what's hapening without seeing or having detaild info, however you could try putting the javascript file into a template file e.g
{* ID: my_javacsript_file_js.tpl, my menu file *} file name and description
{literal}
<script language=javascript1.2 type="text/javascript">
YOUR JS CODE
</script>
{/literal}
then in the template file customer/home.tpl
put:
{include file="your_js_script.tpl"}
in the HTML TABLE cell where you want the script to be placed.
DON'T FORGET TO CHECK FILE PERMISSIONS ON THE JS FILE, this could also prevent the file from being read remotely (from a browser request)
Regards,
__________________
Syddos
Nothing is impossible, We just don't know how to do it ........Yet!
Xcart 4.1.X PRO (Testing Platform: winXP Pro)
Perl 5.8.7 (win32)
WINAMP 1.6.3 (win32 server package. Includes the following)
- phpMyAdmin v2.8.03
- MySql 5.0.21
- Apache 2.0.55 (win32)
- php 5.1.4
- SQLitemanager 1.2.0
|