Username & Email for Javascript
Greetings All,
Hoping this is an easy question.
I'm trying to drop a Zopim Chat Window on our vBulletin instance. Zopim has the ability to have the email,name and another piece passed via javascript into it. How do I get those fields from Vb in Javascript?
Also, is there a doc somewhere that shows how to reference other stuff in Vb?
<script type="script/javascript">
$zopim(function() {
$zopim.livechat.setName('Logged in name');
$zopim.livechat.setEmail('user@somewhere.com');
$zopim.livechat.addTags('User Group');
});
</script>
Thank you in advance,
C
|