P
Peter Williams
Hi All,
I have a simple html page (see below), which uses some javascript and
contains a small textarea (4 rows by 5 cols). What I want to know is,
is there a way of making the text in the textarea appear larger???
Regards,
Peter W. ))
Sandy Bay, Hobart, Tas, AU.
(delete silly boy to reply via email).
--- code follows ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<script language="JavaScript">
<!-- Begin animation ---
var frame_count=0;
var nl="\r\n";
function Animate()
{
document.animation.viewer.value = cartoon[frame_count];
if (cartoon[++frame_count]==null) frame_count = 0;
// Remove "//" from start next line to show it a frame at a
time.
// if(confirm('continue?'))
setTimeout("Animate()", 200); // Change number here to change
speed
}
var cartoon = new Array(
" o \r\n"+
"^|\\\r\n"+
" /\\\r\n",
" o \r\n"+
"^|^\r\n"+
" >\\\r\n" // more frames than this, obviously...
);// ---- End animation script ----->
</script>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<BODY text=white bgcolor=black onload=Animate()>
<FORM NAME=animation><center>
<TEXTAREA NAME=viewer ROWS=4 COLS=5></TEXTAREA>
</center></FORM>
</body>
</html>
--- end code ---
I have a simple html page (see below), which uses some javascript and
contains a small textarea (4 rows by 5 cols). What I want to know is,
is there a way of making the text in the textarea appear larger???
Regards,
Peter W. ))
Sandy Bay, Hobart, Tas, AU.
(delete silly boy to reply via email).
--- code follows ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<script language="JavaScript">
<!-- Begin animation ---
var frame_count=0;
var nl="\r\n";
function Animate()
{
document.animation.viewer.value = cartoon[frame_count];
if (cartoon[++frame_count]==null) frame_count = 0;
// Remove "//" from start next line to show it a frame at a
time.
// if(confirm('continue?'))
setTimeout("Animate()", 200); // Change number here to change
speed
}
var cartoon = new Array(
" o \r\n"+
"^|\\\r\n"+
" /\\\r\n",
" o \r\n"+
"^|^\r\n"+
" >\\\r\n" // more frames than this, obviously...
);// ---- End animation script ----->
</script>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<BODY text=white bgcolor=black onload=Animate()>
<FORM NAME=animation><center>
<TEXTAREA NAME=viewer ROWS=4 COLS=5></TEXTAREA>
</center></FORM>
</body>
</html>
--- end code ---