DivineMessenger
02-12-2010, 05:30 AM
I want to install a meembo bar at the bottom of my site but I have no idea where to put the code. Here are the instructions.
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:'xxxxxx_ga23ju'});
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
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:'xxxxxx_ga23ju'});
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