Ok what I have done is:
On my html I have inserted an iframe. The file that the iframe refers to has the following script:
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_GB/all.js#xfbml=1”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<DIV ID=”datacontainer” STYLE=”Position : Absolute ; Left : 0px ; Top : 0px ; Width : 100%” onMouseOver=”scrollspeed=0″
onMouseOut=”scrollspeed=cache”>
<!– ADD YOUR SCROLLER CONTENT INSIDE HERE –>
<div id=”voodooBlog”>
<?php while (have_posts()): the_post(); ?>
<div class=”dateIcon”>
<h5><?php the_time(‘M’); ?></h5>
<p><?php the_time(‘j’); ?></p>
</div>
<div class=”text”>
<h4><?php the_title(); ?></h4>
<?php the_excerpt(); ?>
<p></p>
“>Read More…
</div>
<?php endwhile; ?>
</div>
<!– END SCROLLER CONTENT –>
</DIV>
<P><SCRIPT type=”text/javascript”>
/***********************************************
* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
//Specify speed of scroll. Larger=faster (ie: 5)
var scrollspeed=cache=1
//Specify intial delay before scroller starts scrolling (in miliseconds):
var initialdelay=500
function initializeScroller(){
dataobj=document.all? document.all.datacontainer : document.getElementById(“datacontainer”)
dataobj.style.top=”5px”
setTimeout(“getdataheight()”, initialdelay)
}
function getdataheight(){
thelength=dataobj.offsetHeight
if (thelength==0)
setTimeout(“getdataheight()”,10)
else
scrollDiv()
}
function scrollDiv(){
dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+”px”
if (parseInt(dataobj.style.top)<thelength*(-1))
dataobj.style.top=”5px”
setTimeout(“scrollDiv()”,40)
}
if (window.addEventListener)
window.addEventListener(“load”, initializeScroller, false)
else if (window.attachEvent)
window.attachEvent(“onload”, initializeScroller)
else
window.onload=initializeScroller
</SCRIPT>