Wednesday, December 22, 2010

Setting up a MEEBO bar for your website.

First, you have to create an account from MEEBO website - http://www.meebo.com/websites/. Supply all the details needed, then agree to the terms and conditions of the site. Input the site name and URL of your website.

If you host your own site, you'll have to edit the template for your Web site in order to add the Meebo Bar. Most blog platforms have a setting for edit HTML or edit template where you can modify the code directly.

1. In your template, immediately following the opening <body> tag, insert the following code:

<script type="text/javascript">
if (typeof Meebo == 'undefined') {
Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};
(function(q){
var args = arguments;
if (!document.body) { return setTimeout(function(){ args.callee.apply(this, args) }, 100); }
var d=document, b=d.body, m=b.insertBefore(d.createElement('div'), b.firstChild), s=d.createElement('script');
m.id='meebo'; m.style.display='none'; m.innerHTML='<iframe id="meebo-iframe"></iframe>';
s.src='http'+(q.https?'s':'')+'://'+(q.stage?'stage-':'')+'cim.meebo.com/cim/cim.php?network='+q.network;
b.insertBefore(s, b.firstChild);

})({network:'codewaresoftwaredevelopment_lo05vi'});
Meebo('makeEverythingSharable');
}
</script>


2. In your template, immediately prior to the closing </body>, insert the following code:

<script type="text/javascript">
Meebo("domReady");
</script>


3. Save your changes and publish your site.

No comments:

Post a Comment