Empire of Sports Europe
▓░░▓░░░▓░░▓▓▓░▓░░░▓▓▓░▓▓▓▓▓░░▓▓░░░▓▓░░▓▓▓░░░░░░
▓░▓░▓░░▓░░▓░░░▓░░░▓░░░▓░░░▓░░▓░▓░▓░▓░░▓░░░░░░░░
▓▓░░░▓░▓░░▓▓░░▓░░░▓░░░▓░░░▓░░▓░░▓░░▓░░▓▓▓░░░░░░
▓░░░░░▓▓░░▓░░░▓░░░▓░░░▓░░░▓░░▓░░░░░▓░░▓░░░░░░░░
▓░░░░░░▓░░▓▓▓░▓▓▓░▓▓▓░▓▓▓▓▓░░▓░░░░░▓░░▓▓▓░░░░░░
Hello and welcome to EOS-EU - First English Speaking Fansite of Empire of Sports!
Register to obtain full access to the website.
We hope you will enjoy the portal.

EOS-EU Team


Welcome to the first English Speaking Community FanSite of Empire of Sports :)
 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsHOMEPORTALFORUMLog inRegister

Share | 

1pɔɹɐsɥǝɹ


 

 Text writer (textarea)

View previous topic View next topic Go down 
AuthorMessage
Jo_Oker
Administrator
Administrator
avatar


PostSubject: Text writer (textarea)   Fri Jan 25, 2013 2:22 pm

Code:
<script language="javascript" type="text/javascript">
<!-- Begin
var Stop=false;
var max=0;
function textlist() {
max=textlist.arguments.length;
for (i=0; i<max; i++)
this[i]=textlist.arguments[i];
}
tl = new textlist(
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.",
"sssssssssssssssssssssssss",
"ddddddddddddddddddddd",
"fffffffffffffffffffffffffffffff"
);

var x = 0; pos = 0;
var l = tl[0].length;
function textticker() {
document.tickform.tickfield.value = tl[x].substring(0, pos) + "_";
if(pos++ == l) {
pos = 0;
if(!Stop) setTimeout("textticker()", 2000);
if(++x == max) x = 0;
l = tl[x].length;
} else
if(!Stop) setTimeout("textticker()", 50);

if (Stop) document.tickform.tickfield.value ='';
}
window.onload=textticker;
function Alert()
{
    alert(document.tickform.tickfield.value);
}
//  End -->
</script>
<center>
<form name=tickform>
<textarea name=tickfield rows=3 cols=38 style="background-color: rgb(0,0,0); color: rgb(255,255,255); cursor: default; font-family: Arial; font-size: 12px" wrap=virtual onFocus="Stop=true"></textarea>
</form>
</center>



Add the below code to the body section of your page.
Back to top Go down
View user profile
 

Text writer (textarea)

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Changing my in game text to chinese?
» Copy/Paste in game text out of wow
» Text too small to read
» PGN Reader/Viewer/Writer List
» Writer's Hideout - Lesson i - Page 3

Permissions in this forum:You cannot reply to topics in this forum
Empire of Sports Europe :: Java Script-