Here is what a need to do and I have all the coding in place except the part to get the script to work
We have a website and have a live chat icon we added to our header graphic. The graphic is static and will always say we are online to chat which is fine.
We have mapped all the clickable spots and they all work perfect except the chat section because it runs a script instead of linking to a site.
When we use the standard href codeing we error out because it is a script not a direct link
Here is the current code for that section
<div id="minHeight"></div>
<div id="container_home">
<div id="header"><img src="images/header.png" border="0" usemap="#Map" />
<map name="Map" id="Map">
<!-- Begin OCC code for Support department -->
<area shape="rect" coords="530,140,650,190"
<a href="http://www.asplayzone.com" alt="facebook" />
<!-- End OCC Compact HTML/Mobile code -->
<area shape="rect" coords="676,131,715,172" href="http://www.facebook.com/AandSPlayZone" alt="facebook" />
<area shape="rect" coords="724,132,763,170" href="http://www.twitter.com/asplayzone" alt="twitter" />
<area shape="rect" coords="773,132,810,170" href="https://plus.google.com/116300476202094253542/posts" alt="google+" />
<area shape="rect" coords="676,178,715,216" href="http://www.asplayzone.com/wpblog">
<area shape="rect" coords="725,177,764,217" href="http://www.bouncehousedaytoncincinnati.blogspot.com">
<area shape="rect" coords="773,178,811,217" href="http://www.youtube.com/user/ASPLAYZONE11?feature=mhee">
</map>
The code that needs to go into the OCC section is this
<!-- Begin OCC code for Customer Service department -->
<script type="text/javascript">
(function() {
var occ = document.createElement('script'); occ.type = 'text/javascript'; occ.async = true;
occ.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'www.onlinechatcenters.com/code-1111-1111.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(occ, s);
})();
</script>
<!-- End OCC code -->
I have attempted every possible way to insert this code and have researched for days on trying to find a possible solution, and at this point I am getting so upset that something so easy seems so hard.
Can you point me to a location where I can study this or to a location where I can find a programmer that knows how to is willing to show me how to fix it.