bgrcmodels Posted November 1, 2006 Posted November 1, 2006 Hello, I have installed this Contribution to my website and i am looking for a little help on modifying this a little bit to make a slightly different box. below i have provided all the relevent information required, i just need help with the coding of it: Here is the script as standard from the paypal information box: <?php /* $Id: information.php,v 1.5 2002/01/11 22:04:06 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2001 osCommerce Released under the GNU General Public License */ ?> <!-- paypal_link //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_PAYPAL ); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<a href="#" onclick="java script:window.open(\'https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal-outside\',\'olcwhatispaypal\',\'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=400, height=450\');"><img src="http://www.bgrcmodels.com/catalog/images/logo-paypal.gif" border="0" alt="Solution Graphics"></a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- paypal_link_eof //--> I would like to change the image inside the box and the link so it links to a different page also in a new window: URL of link that i want to image once clicked on to take me: http://help.nochex.com/esupport/index.php?_a=knowledgebase&_j=questiondetails&_i=51&nav=+%26gt%3B+%3Ca+href%3D%27index.php%3F_a%3Dknowledgebase%26_j%3Dsubcat%26_i%3D29%27%3EAbout+Nochex%3C%2Fa%3E Image i would like in the box: http://www.bgrcmodels.com/catalog/images/cardsboth1.gif If anyone can help me code this i would be very greatfull. I can code it so it opens in the same window once clicked on the logo but i want it to open in a new window. Many Thanks in advance Ben Quote
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.
Note: Your post will require moderator approval before it will be visible.