| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding Live Help | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello All,
I am trying to add Live Help to my cart. The script I am using requires part of the code to be in the head tag and the rest of the code to be in the Body. Is there a template that I can put the head code in to make this script work with Xcart. I think if I can find a place to put the head code..it will work. Thanks! Here is the head code: ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++ <!-- stardevelop.com Live Help International Copyright - All Rights Reserved //--> <!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //--> <script language="JavaScript" type="text/JavaScript" src="http://christmaslightshow.com/livehelp/include/javascript.php"></script> <!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //--> ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++ Here is the code that goes in the body: <!-- stardevelop.com Live Help International Copyright - All Rights Reserved //--> <!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //--> <div id="floatLayer" align="left" style="position:absolute; left:10px; top:10px; visibility:hidden; z-index:5000;"> <map name="LiveHelpInitiateChatMap" id="LiveHelpInitiateChatMap"> <area shape="rect" coords="50,210,212,223" href="http://livehelp.stardevelop.com" target="_blank" alt="stardevelop.com Live Help"/> <area shape="rect" coords="113,183,197,206" href="#" onclick="openLiveHelp();acceptInitiateChat();retur n false;" alt="Accept"/> <area shape="rect" coords="206,183,285,206" href="#" onclick="declineInitiateChat();return false;" alt="Decline"/> <area shape="rect" coords="263,86,301,104" href="#" onclick="declineInitiateChat();return false;" alt="Close"/> </map> <div id="InitiateText" align="center" style="position:relative; left:30px; top:145px; width:275px; height:35px; z-index:5001; text-align:center; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold;">Do you have any questions that I can help you with?</div> <img src="http://christmaslightshow.com/livehelp/locale/en/images/InitateChat.gif" alt="stardevelop.com Live Help" width="323" height="229" border="0" usemap="#LiveHelpInitiateChatMap"/></div> <!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //--> ++++++++++++++++++++++++++++++++++++++++++++++++++ + more code.... <!-- stardevelop.com Live Help International Copyright - All Rights Reserved //--> <!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //--> <a href="#" target="_blank" onclick="openLiveHelp(); return false"><img src="http://christmaslightshow.com/livehelp/include/status.php" id="LiveHelpStatus" name="LiveHelpStatus" border="0" alt="Live Help" onload="statusImagesLiveHelp[statusImagesLiveHelp.length] = this;"/></a> <!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //--> http://livehelp.stardevelop.com |
|||||||
#2
|
|||||||
|
|||||||
![]() I use the same one (stardevelop)
can't double check at the moment as im running a backup but im pretty sure the head script goes into head.tpl and the rest would go in home.tpl
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
Thanks! I got it to work. I tried putting it in the Head.tpl before, but the code kept showing up. I guess I put it in the wrong place. So it was the head.tpl and the home.tpl. Thanks Again! |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|