Quote Originally Posted by niccol View Post
ok. probably the best place to put the js scripts that I sent is includes/modules/pages/product_info . That way they will only load on the product info page.

the module you can set as an override at includes/modules/your_template/additional_images.php

the template can go at includes/templates/your_template/templates/tpl_modules_main_product_image.php

then beyond that I'd need to see a URL to tell you why it is not playing.
Hi Niccol,

OK, i have done the above, and JS script now is only applicable to includes/modules/pages/product info, as i realized inside this folder there is a jscript_main.php. hence i put the following script in this php file

"<script type="text/javascript" src="includes/js/jscript_jqzoom_init.js"></script>
<script type="text/javascript" src="includes/js/jscript_jquery.jqzoom-core.js"></script>
"


PHP Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | [email protected] so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: jscript_main.php 5444 2006-12-29 06:45:56Z drbyte $
//
?>
<script language="javascript" type="text/javascript"><!--
function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
function popupWindowPrice(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400,screenX=150,screenY=150,top=150,left=150')
}
//--></script>

<script type="text/javascript" src="includes/js/jscript_jqzoom_init.js"></script>
 <script type="text/javascript" src="includes/js/jscript_jquery.jqzoom-core.js"></script>

You can see a sample of URL here:

http://mmo.net.my/storev2/index.php?...roducts_id=549

It doesn't seem working..