Text floating output

Source: Internet
Author: User
Tip: you can modify some code before running

<html><head><title>Text floating output</title><style type="text/css"><!--body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none } A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }a:active { font: 9pt "宋体"; cursor: hand; color: #FF0033 }--></style><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body><br><br><center><font color=red face="隶书" size=6>Text floating output</font></center><br><center><table border=1 bordercolor=#000000 borderlight=green cellpadding="0" cellspacing="0"><tr><td align=center><font size=5 color=red face="Arial, Helvetica, sans-serif"><strong>The display area is shown below!</strong></font></td></tr><tr><td align=center> <SCRIPT LANGUAGE=JAVASCRIPT>Var ltext = "super javascript welcome !!! "/* The message */var spc = 10/* spacing */var speed = 50/* speed in milliseconds */var times = 2/* number of times to run each style * // * display dimentions */var rows = 5/* number of textarea rows */var cols = 60/* number of textarea coloums */* advanced options */var addstopbutton = true/* add optional stop button? True = yes false = no */var stopbuttonvalue = "STOP"/* Text For Stop Button */var startvalue = "START"/* When Stop Button Clicked Button Value =? * // * End of options */var len = spc * 2; var text = ltext; var I; var stop = false; var stopped; for (I = 0; I<spc;i++){text=text+" "} function array(n) { this.length = n for (i=1; i <= n; i++){this[i] ="";} return this} document.writeln('<FORM NAME="F">') Document. writeln ('<TEXTAREA ROWS='+rows+' COLS='+cols+' NAME="D" WRAP=SOFT>
Tip: you can modify some code before running

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.