CaseyC1 Posted February 10, 2008 Share Posted February 10, 2008 The following code is from a php .tpl file: <!-- BEGIN: card_true --> <tr class="copyText"> <td><strong>{LANG_PAY_BY_CARD}</strong></td> <td> </td> </tr> <tr class="copyText"> <td valign="top">{LANG_CARD_TYPE}</td> <td> <!-- BEGIN: repeat_card --> <img src="images/box.gif" alt="" /> {VAL_CARD_NAME}<br /> <!-- END: repeat_card --></td> </tr> <tr class="copyText"> <td>{LANG_CARD_NO}</td> <td>________________________</td> </tr> <tr class="copyText"> <td>{LANG_3_DIG_ID}</td> <td>______</td> </tr> <tr class="copyText"> <td>{LANG_EXPIRE_DATE}</td> <td>____________</td> </tr> <tr class="copyText"> <td>{LANG_SIGNATURE}</td> <td>________________________</td> </tr> <!-- END: card_true --> The red section asks for the 3 digit security code from the back of the card. I have a web page (MHTML) that has a pic of the back of the card and shows the sec code. I would like to add a link directly below the section in red, that will open my explanation page in another window. How do I do that? Thanks, Klaus Cook Houston, Texas Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted February 10, 2008 Share Posted February 10, 2008 Are you wanting a pop-up or just to open page in new window? Pop-Up <script language="javascript"> function popIt() { window.open('yourpage.html','neWin','width=300,height=225,status=no,menubar=no,toolbar=no,scrolling=no,resize=no,left=0,top=0') } </script> <a href="javascript://" onclick="popIt()">Display Page</a> Open Full Page In New Window <a href="yourpage.html" target="_blank">Display Page</a> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.