Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Add a Live Chat Javascript in the Tagline

Add a Live Chat Javascript in the Tagline

Locked

Views: 997

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
23 Nov 2006, 5:46 PM
#1
gems14k avatar

gems14k

New Zenner

Join Date:
Jul 2005
Posts:
95
Plugin Contributions:
0

Add a Live Chat Javascript in the Tagline

I set my HEADER_SALES_TEXT to 1-888-665-6742

However, I want the tagline to look like this: 1-888-665-6742 Live Chat

"Live Chat" is a link generated by the Help Center Live javascript below:

<script type="text/javascript" language="javascript" src="http://www.nokoria.com/helpcenter/class/js/include.php?live&text&cobrowse&departmentid=1"></script>

I tried to modify the tpl_header.php, but I'm not sure how to put the javascript in there.

<div id="tagline"> <?php echo HEADER_SALES_TEXT;?> <?php if ($current_page_base is not ssl) { Help-Center-Live Javacript; } ?> </div>

Any help is much appreciated!

Happy Thanksgiving!