Lol tomm![]()
Ill look on dd for u now soon as ure so desp.
http://dynamicdrive.com/dynamicindex...xrssticker.htm
http://dynamicdrive.com/dynamicindex2/ajaxticker.htm
http://dynamicdrive.com/dynamicindex2/xmlticker2.htm
WARNING THIS WAS TAKEN FROM CLUBHABBO AND YOU MAY NEED PERMISSION!
and displays id="randlink" on images and iframe<script type="text/javascript">
var preloaded = new Array();
function preloadImages() {
for (var i = 0; i < arguments.length; i++){
preloaded[i] = document.createElement('img');
preloaded[i].setAttribute('src',arguments[i]);
};
};
preloadImages(
'../images/sitebanners/clubhabbowood.gif',
'../images/sitebanners/donate.gif',
'../images/sitebanners/meetthedjs.gif'
);
var links = new Array(
'../community/habbowoodcomp.html',
'../clubhabbo/donate.php',
'../cutenews/show_news.php?subaction=showfull&id=1188621825&arc hive=&start_from=&ucat=25&'
);
var text = new Array(
'ClubHabboWood is back! Can you win the <b>ClubHabbo Digital Movie Awards</b>!?',
'Want <b>your</b> name on ClubHabbo? If so, why not donate some furniture?',
'Come and <b>Meet The DJs</b> who make ClubHabbo Radio what it is! Just <b>click here!</b>'
);
var curOffset = 1;
window.onload=function() {
document.getElementById('randLink').href = links[0];
document.getElementById('randImage').src = preloaded[0].src;
document.getElementById('randText').innerHTML = text[0];
setInterval(
function() {
document.getElementById('randLink').href = links[curOffset];
document.getElementById('randImage').src = preloaded[curOffset].src;
document.getElementById('randText').innerHTML = text[curOffset];
curOffset = (curOffset >= preloaded.length-1) ? 0 : curOffset + 1;
}, 10000);
};
</script>![]()






Reply With Quote




