RE: How to put links in produckt descriptions?

siliconjunkie <[email protected]> 13 Sep 2003 19:58:42 -0000
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <97455761ac4a7806e65e91e932fd94dd@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=229000#229000
----------------------------------------------------------------

Ok, it appears there is already a js function in there for this:
[code]<script language="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')
}
//--></script>
[/code]
So I added another below it:
[code]<script language="javascript"><!--
function popupWindow2(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>[/code]
Works like a champ. Thanks for the pointer.