Fancier Online/Offline images for all
A few months ago Roland made some really cool online/offline images for people on myspace and other sites that block javascript to use when hab.la enabling their website.
At the time we were rewriting a lot of the core JavaScript, so recently this took a back seat to core functionality.
Below you will find the HTML code necessary to add hab.la to your website (no javascript required), be sure you change the fields labeled SITE_CODE, to your site code found in the My Hab.la Page.
(Once installed on your site, clicking on the produced image will create a link to hab.la where your visitors will be able to chat with you.)

<div> <a href = "http://static.hab.la/js/html/url_handler.html?siteid=SITE_ID_HERE"> <img src="http://dyn.hab.la/online/image.cgi/SITE_ID_HERE/1.gif" border=0></a><br/> <small>Powered By <a href="http://hab.la" target="_blank">Hab.la</a><small> </div>

<div> <a href = "http://static.hab.la/js/html/url_handler.html?siteid=SITE_ID_HERE"> <img src="http://dyn.hab.la/online/image.cgi/SITE_ID_HERE/2.gif" border=0></a><br/> <small>Powered By <a href="http://hab.la" target="_blank">Hab.la</a><small> </div>

<div> <a href = "http://static.hab.la/js/html/url_handler.html?siteid=SITE_ID_HERE"> <img src="http://dyn.hab.la/online/image.cgi/SITE_ID_HERE/3.gif" border=0></a><br/> <small>Powered By <a href="http://hab.la" target="_blank">Hab.la</a><small> </div>

Hidden when unavailable
<div> <a href = "http://static.hab.la/js/html/url_handler.html?siteid=SITE_ID_HERE"> <img src="http://dyn.hab.la/online/image.cgi/SITE_ID_HERE/4.gif" border=0></a><br/> <small>Powered By <a href="http://hab.la" target="_blank">Hab.la</a><small> </div>

<div> <a href = "http://static.hab.la/js/html/url_handler.html?siteid=SITE_ID_HERE"> <img src="http://dyn.hab.la/online/image.cgi/SITE_ID_HERE/4.gif" border=0></a><br/> <small>Powered By <a href="http://hab.la" target="_blank">Hab.la</a><small> </div>
For information on how to use your own custom images, take a look at the below blog post.
http://hab.la/articles/2007/10/19/online-offline-image-the-simple-way
[We are still working on a clean method of performing the same tasks using just javascript – in that we just haven’t got around to it]



Comments [0]