Now you can put this widget onto your website!
Test it for me. Ask Amy Iris a question.

Test it for me. Ask Amy Iris a question.

As a developer, why would you want to a conversational bot in your project? Smart bots can provide your users and customers with a better experience using your website. Check out Paypal's virtual assistant or any of the bots on chatbot.org, and you can see that bots provide a way to automate the mundane, provide better customer service, and save companies money.
One tool that we've created is a simple Amy Iris widget (above) that you can drop onto your website. In future blog posts, I'll show you how you can make this widget smarter and "application specific". But for now I'll just share the tool.
Here's the widget, and the code necessary to drop it onto your website. Go ahead, try it out. Talk to her! And let me know if this widget is working - I'm still testing it. She should "open a chat window" by expanding her blue box, if you talk to her. Thanks!
<script type="text/javascript">
var oldHistLength = history.length;
setInterval ("checkHistory()",130);
function checkHistory() {
if (oldHistLength != history.length) {
var o=document.getElementById("outerdivv");
o.style.height ="242px";
}
}
</script>
<div><div id='outerdivv' style="width:540px;
height:74px; overflow:hidden;
position:relative; border: none; ">
<iframe id='inneriframe'
src='http://chat.amyiris.com/widget/'
frameBorder='0' style="position:absolute;
top:0px; left:0px; width:1280px;
height:1200px; border: 1px solid #000000;">
</iframe></div></div>

0 comments:
Post a Comment