AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Putting Chatbot on Web Page
 
 

I am trying to embed access to my Pandorabot on my own web page. I have tried the html below:
<iframe
svc=“http://bandore.pandorabots.com/pandora/talk?botid=fa339afa4e345a76"height=“50"width=“700”>
</iframe>

I get the Google Gadget on my web page and see the frame box, but it doesn’t allow me to type anything into it. I must be missing a step. Any help most appreciated.

John Flynn
http://semanticsimulations.com

 

 
  [ # 1 ]

Hi, John.

You might want to alter this:

<iframe
svc
=“http://bandore.pandorabots.com/pandora/talk?botid=fa339afa4e345a76"height=“50"width=“700”>
</iframe

to this:

<iframe
src
=“http://bandore.pandorabots.com/pandora/talk?botid=fa339afa4e345a76"height=“50"width=“700”>
</iframe


In your code snipped, you have an attribute in the iframe tag of SVC, rather than SRC. changing that should do the trick. I just tested it in a blank web page on my local server, and it seems to work just fine (though that small an iframe will net you some scrollbars that probably will not be acceptable to most users, so you may want to consider changing the way the iframe is sized, such as using inline CSS styles, or {better yet} an ID or class attribute and actual stylecheet CSS in an external stylesheet file. Just sayin’). wink

 

 
  login or register to react
‹‹ Sets and Synonyms      AIML Quiz ››