I have tried for hours to get this simple exmaple working and am coming up with nothing. I am using the files found here: Dynamic Chat Button and Custom Chat Window using JavaScript Chat API
I have changed all the lpMTagConfig to match my dev account in mtagconfig.js and ChatWindow_requestChatFromDynButton.html. When I run the ChatButton_requestChatFromDynButton.html page, nothing is displayed. However, I can see calls out checking the status periodically.
In my admin, I created button named test-button-one.
In the button HTML: <div id="theButton" name="theButton"></div>
In mtagconfig.js:
lpMTagConfig.dynButton[lpMTagConfig.dynButton.length] = {
'name' :'test-button-one',
'ovr' :'lpMTagConfig.db1',
'pid' :'theButton'
};
What am I doing wrong????