
Originally Posted by
jealouz
Sweet! You're right that's the file Jade.
Got another issue though, i use the code: javascript

opupWindow (hilited in red), link isn't working, not popping (this is the same code i use for the shopping_cart which worked fine)
Error is : OBJECT EXPECTED
<a href="
javascript
opupWindow(\'' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '
\')">' . $listing->fields['products_name'] . '</a>
code applied to the product names link on this part of my website:
LINK
THe shopping cart page has the javascript for the popupWindow.
SO open up includes/modules/pages/shopping_cart/jscript_main.php
Copy it to includes/modules/pages/index/
You may want to only include the popupWindow portion:
Code:
<script language="javascript" type="text/javascript"><!--
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=550,height=550,screenX=150,screenY=100,top=100,left=150')
}
//--></script>
Bookmarks