Jump to content

pedro.antunes

Members
  • Content count

    44
  • Joined

  • Last visited


Reputation Activity

  1. Like
    pedro.antunes got a reaction from yicon in Order Controller v1.0   
    Hi Luke,
     
    I'm not an expert on PHP and HTML, but have you tried to do the popup window like the one from the products image?
     
    Insert in the header:

    <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>
     
    And then where you want to open the popup:

    <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' TYPE THE LINK TO THE WINDOW HERE ">' . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' TYPE THE LINK TO THE WINDOW HERE '" target="_blank">' . '</a>'; ?> </noscript>
     
    It's just an idea, don't know if it works...
     
    Regards.
×