Implement Agent with JavaScript (1)

xiaoxiao2021-03-06  56

I always think that Agent is used to make a website navigation and help. Unfortunately, MS Agent only has IE support, and it seems that the loading speed is not very fast, and I feel that I feel absolutely to use JavaScript. I used to copy the javascript. , 趁 This opportunity is also thoroughly learning. OK, Let's Begin

Since JavaScript is based on an object-based language, then we can also design your own Agent in accordance with OO's ideas.

We hope that the client is simply invoked to OK, it should be the following form.