Ok guys, I’m working out on this one but the news still doesn’t show up on the scrolling javascript. Here’s the code I write:
<SCRIPT LANGUAGE=”JavaScript”>
var myMainMessage=” rel=”bookmark”><?php the_title(); ?>;
var speed=150;
var scrollingRegion=50;
var startPosition=0;
function mainTextScroller() {
var mainMessage=myMainMessage;
var tempLoc=(scrollingRegion*3/mainMessage.length)+1;
if (tempLoc<1) {tempLoc=1}
var counter;
for(counter=0;counter<=tempLoc;counter++)
mainMessage+=mainMessage;
document.mainForm.mainTextScroller.value=mainMessage.substring(startPosition,startPosition+scrollingRegion);
startPosition++;
if(startPosition>scrollingRegion) startPosition=0;
setTimeout(“mainTextScroller()”,speed); }
<body onLoad=”mainTextScroller()”>
<form name=”mainForm”>
<center>
<input type=”text” name=”mainTextScroller” size=”40″ value>
</center>
</form></body>
But still, the entry just doesn’t scroll, it doesn’t even displayed. Any hand here?