Thoughts on live chat 
Filed under

js

 

Javascript API? A Pie in my Eye?

Anyway, as I was fixing some problems with how hab.la is not so smart about polling our servers. (It’s now smarter – with some potential for being MUCH smarter), I thought, you know what we need – we need some examples of the cool stuff you can do with the Hab.la API.

So rather than writing documentation, I decided to create a quick example of how you can resize, hide, show, and expand the hab.la window on your website using javascript.

I wrote up a full example at: http://static.hab.la/test/bot_resize.html

Though, you could also try playing with these buttons:

Width:

Height:

Filed under  //   frontend   habla   hide   javascript   js   livehelp   move   resize   show  

Comments [0]

Hab.la Google Gadget

I spent today honing my Google gadget writing skills. Unfortunately Google Gadgets that work on Google Pages are wrapped in IFRAMES so I couldn't make a gadget to embed the floating Hab.la into your Google page. (Though you can still paste the HTML into Google page) We need to do a little bit more testing before we add the Gadget to the various Google Gadget directories. The below link is pretty much useless, as it will just add the Hab.la widget to your iGoogle web page.

 

Add to Google

What you really want to do is log into your google pages account (Pages.Google.com) and edit a page on your site, near the bottom of the screen is an [Add Gadget link], choose to add a gadget from a URL, and as the URL specify: http://static.hab.la/html/habla_gadget.xml
 
You'll need your Hab.la Site-ID which can be found on your account page, pull out the series of numbers passed to the wc_init() function. If you examine the code wc_init("___THIS_IS_YOUR_ID___")

That's it for now, in other news I've been revamping the JavaScript API that drives the display of hab.la on your page, and pretty soon there will be documentation explaining all the cool things you can do with your hab.la window.

One last thing, the MySpace and BlogSpot Hab.la tutorials are on their way :-)

Filed under  //   api   gadget   google   js   myspace   tutorial   update  

Comments [2]