View Single Post
Old 01-07-2013, 02:23 AM   PM User | #2
Logic Ali
Regular Coder

 
Logic Ali's Avatar
 
Join Date: Sep 2010
Location: London
Posts: 959
Thanks: 0
Thanked 198 Times in 193 Posts
Logic Ali will become famous soon enoughLogic Ali will become famous soon enough
A few things that stand-out immediately are:

Quote:
document.body.onload=CueComment();
should be document.body.onload=CueComment; although it's more usual to attach the handler to window.

Quote:
Code:
function CueComment(){
while (CueIt == 1){
Rand = math.random()*(CommentList.count);
CueIt = CommentOn[Rand];
}
CommentTwinkle(Rand);
setTimeout('CueComment()',1000)
}
Nothing ever sets the value of CueIt to 1.

Code:
math.random()
should be Math.random()
Logic Ali is offline   Reply With Quote