JavaScript code for zooming IE status bar text and JS Status Bar

Source: Internet
Author: User

JavaScript code for zooming IE status bar text and JS Status Bar

This article describes the code for JavaScript to implement the text zoom effect on the IE status bar. We will share this with you for your reference. The details are as follows:

Here we will demonstrate the effect of text scaling on the status bar. It is also based on JavaScript technology. Although it is very inconspicuous, it is useful for learning JavaScript. You can copy the code and save it as an HTML file. You can double-click it to see the effect.

The running effect is as follows:

The Online Demo address is as follows:

Http://demo.jb51.net/js/2015/js-ie-ztl-txt-style-demo/

The Code is as follows:

<HTML> <HEAD> <TITLE> text scaling in the status bar </TITLE> <META http-equiv = Content-Type content = "text/html; charset = gb2312 "> <SCRIPT language = JavaScript> <! -- BegintimeID = 5; stcnt = 11; msg = "<I love shenlong!> "; Wmsg = new Array (33); wmsg [0] = msg; blnk =" "; for (I = 1; I <32; I ++) {B = blnk. substring (0, I); wmsg [I] = ""; for (j = 0; j <msg. length; j ++) wmsg [I] = wmsg [I] + msg. charAt (j) + B;} function wiper () {if (stcnt>-1) str = wmsg [stcnt]; else str = wmsg [0]; if (stcnt -- <-40) stcnt = 31; status = str; clearTimeout (timeID); timeID = setTimeout ("wiper ()", 150 );} // End --> </SCRIPT> </HEAD> <BODY bgColor = # fef4 D9 onload = wiper ()> <BR> <CENTER> <TABLE borderColor = # FFFF00 border = 5 borderlight = "green"> <TBODY> <TR> <TD align = middle> the status bar is the display area! </TD> </TR> </TBODY> </TABLE> </CENTER> </BODY> </HTML>

I hope this article will help you design JavaScript programs.

Related Article

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.