Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Help with some code


Recommended Posts

Hi there


I decided to install the "messenger Status" contribution on my oscommerce test stie, http://www.d0nkilla.co.uk/catalog


I have managed to get it to work, but the code pulls up 2 online status boxes, one at the top and the other at the bottom,


What im trying to do is to create a infobox on the left hand side and put just the top status logo link which opens up the messenger window, the bottom logo/status just opens up a window saying msn me at blah blah..


the bottom logo can go as I dont see any point for this, Have a look at my site and ill put the code messenger.php code here and hopefully someone can tell me how to fix it,

 $Id: information.php,v 1.5 2002/01/11 22:04:06 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions

 Copyright (c) 2001 osCommerce

 Released under the GNU General Public License
<script language="JavaScript" type="text/JavaScript">
function MM_popupMsg(msg) { //v1.0
<!-- messaging //-->
   <td><table width="150" border="0" cellspacing="0" cellpadding="0" class="infoBox_left">
   <td class="infoBox_left">
 $info_box_contents = array();
 $info_box_contents[] = array('align' => 'left',
                              'text'  => BOX_HEADING_MESSAGING
 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
$info_box_contents[] = array('text' => 
'<table width="100%"  border="0" cellspacing="0" cellpadding="0"><tr><td>' . 
//'<a href="aim:goim?screenname=' . ENTRY_AOL_ID . '&message="><img src=' . ENTRY_AIM_HOST_ID . ENTRY_AOL_ID . '&m=g&t=2" border="0" alt="AOL Messenger"></a><br>' . 
'</td><td>' . 
//'<a href="http://wwp.icq.com/scripts/search.dll?to=' . ENTRY_ICQ_NUMBER . '&action=message"><img src=' . ENTRY_ICQ_HOST_ID . ENTRY_ICQ_NUMBER . '&img=5" border="0" alt="ICQ"></a><br>' . 
'</td></tr><tr><td>' . 
//'<a href="ymsgr:sendIM?' . ENTRY_YAHOO_ID . '"><img border=0 src=' . ENTRY_YAHOO_HOST_ID . ENTRY_YAHOO_ID . '&m=g&t=2" border="0" alt="Yahoo! Messenger"></a><br>' . 
'</td><td>' . 
'<a href="javascript:;" onClick="MM_popupMsg(\'' . MSN_ME_TEXT . ENTRY_MSN_ID.'\')"><img border=0 src=' . ENTRY_MSN_HOST_ID . ENTRY_MSN_ID . '&m=g&t=2" border="0" alt="MSN Messenger"></a>' . 
'</td></tr><tr><td>' . 
//'<a href="javascript:;" onClick="MM_popupMsg(\'' . JABBER_ME_TEXT . ENTRY_JABBER_ID.'\')"><img border=0 src=' . ENTRY_JABBER_HOST_ID . ENTRY_JABBER_ID . '&m=g&t=2" border="0" alt="Jabber Messenger"></a>' . 
'</td><td>' . '</td></tr></table>');
 new infoBox($info_box_contents);
 <tr><td><img src="images/vn2designsdotcom_left_bot.jpg"></td>


thanks for reading

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...