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 Link to comment https://forums.phpfreaks.com/topic/90302-how-do-i-open-a-page-in-a-new-window/ 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> Link to comment https://forums.phpfreaks.com/topic/90302-how-do-i-open-a-page-in-a-new-window/#findComment-463027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.