RE: Can a product link to an external site (ie: cafepress.com)?

dehdmtw <[email protected]> 10 Sep 2003 14:36:20 -0000
Newsgroups gmane.comp.web.oscommerce.contributions
Message-ID <489def886719d68bae96e9da6bf7b418@osCommerce-Forums>
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=227387#227387
----------------------------------------------------------------

maxi: prior to my coming to the osc software i was using the

[code]<a href="#" onclick="window.open('bg.html','detail','width=700,height=420')">
        HERE</a>[/code]

to open the windows i wanted. 

when i got on osc i reverted from that format cause i was getting parse errors. i assumed it was from the # sign being used.  i just tried the code you posted


 [quote]Parse error: parse error in /home/murderth/public_html/distro/includes/languages/english/releases.php on line 38[/quote]

whole center page is black, with "TEXT_INFORMATION" displayed

makes me think the # is causing it. is this true? i'm looking at the code used for the larger image click option, it does not have a # in it.

[code]<script language="javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>[/code]

how could i edit this to look like the code you posted? or am i just dumb?