Typing effect _ typical special effects

Source: Internet
Author: User
Typing Effect

<! ------- [Begin + Start +] --------- typing effect ---------> <style> h3 {COLOR: # ffffff; FILTER: glow (color = ef09da, strength = 1) dropshadow (color = #00ff00, offx = 1, offy = 1, positive = 2); width: 600; text-indent: 2em} </style> <body> <script language = javascript> var layers = document. layers, style = document. all, both = layers | style, idme = 908601; if (layers) {layerRef = 'document. layers '; styleRef = '';} if (style) {layerRef = 'document. all'; styl ERef = '. style ';} function writeOnText (obj, str) {if (layers) with (document [obj]) {document. open (); document. write (str); document. close ();} if (style) eval (obj + '. innerHTML = str ');} var dispStr = new Array, it has jurisdiction over 11 counties in hantai, nanzheng, chenggu, yangxian, Xixiang, PiXian, Ningqiang, luyang, zhenba, Liuba, and Foping, covering an area of 27 thousand square kilometers, with a population of 3.6396 million people and 3.96 million mu of arable land, it is well known as "Little Jiangnan" and Qinba "jubaobao" in northwest China. Hanzhong used to be the party of the Shang Dynasty, the Hanzhong-gun in the Qin Dynasty, and the birthplace of the Western Han Dynasty in the Liu state, outstanding political and military figures, including Zhang Liang, Han Xin, Xiao He, Zhang Lu, Zhuge Liang, Wu Zhe, and Wu Zhe, all left their footprints in Hanzhong. Hanzhong also gave birth to Zhang Yu, a great diplomat, and gave birth to Li Gu, the minister of gangzhi xionglie, and Cai Lun, the inventor of papermaking. The poets Li Bai, Du Fu, and Lu You sang magnificent poems in the Qinba mountains. The long and rich history has left many places of interest and monuments in Hanzhong. It is known as the historical transportation of the world. In the cultural history, it is a "miracle" and "treasure, the ancient hantai, the Palace Site of the King of China, and the historical cemetery and ancestral hall of Han liubang. In 1994, Hanzhong City was killed as a national historical and cultural city by the State Council. Hanzhong has a fertile land, humid climate, and rich in rice, wheat, corn, potato, rape, fruit, and tea. It is a high agricultural producing area in Shaanxi. More than 3000 wild plants and more than 1300 Chinese herbal medicines are known as the "natural medicine Database ". There are a wide variety of animals, including more than 40 rare protected animals, such as pandatv, Golden Monkey, Zhu Xi, and Jinniu. Hanzhong is an open area approved by the State and an emerging economic, trade, and tourism center in southern Shaanxi. The Baocheng, yang'an, and Tongyu railway are among the regions with great development potential when they pass through the Chinese territory, and the civil aviation flights travel to and from Xi'an. The natural conditions and human geography in Hanzhong are quite different from those in Guanzhong. ancient buildings have a style of both North and South, and there are various houses. The Customs of life are quite elegant in the south of the Yangtze River. Here, dragon boat races during the Dragon Boat Festival are invisible in Northern Shaanxi and Guanzhong, and the eating customs are similar to those in Sichuan, luogu grass of BA Shan, ruangong opera of Hanzhong, embroidery of Xixiang all have a strong sense of nostalgia. Yangxian's black rice and fragrant rice, which are ancient gongmi, are now commercially available at home and abroad and become a popular food for ordinary people. "); Var overMe = 0; function txtTyper (str, idx, idObj, spObj, clr1, clr2, delay, plysnd) {var tmp0 = tmp1 ='', skip = 100; if (both & idx <= str. length) {if (str. charAt (idx) = '<') {while (str. charAt (idx )! = '>') Idx ++;} if (str. charAt (idx) = '& str. charAt (idx + 1 )! = '') {While (str. charAt (idx )! = ';') Idx ++;} tmp0 = str. slice (0, idx); tmp1 = str. charAt (idx ++); if (overMe = 0 & plysnd = 1) {if (navigator. plugins [0]) {if (navigator. plugins ["LiveAudio"] [0]. type = "audio/basic" & navigator. javaEnabled () {document. embeds [0]. stop (); setTimeout ("document. embeds [0]. play (false) ", 100) ;}} else if (document. all) {ding. stop (); setTimeout ("ding. run () ", 100);} overMe = 1;} else overMe = 0; writeOnText (idO Bj, "" + tmp0 + "" + tmp1 + ""); setTimeout ("txtTyper ('" + str + "'," + idx + ", '"+ idObj +"', '"+ spObj +"', '"+ clr1 +"', '"+ clr2 +"', "+ delay + ", "+ plysnd +") ", delay) ;}} function init () {txtTyper (dispStr [0], 0, 'ttl0', 'ttl1', '# 0000ff ', '# cccccccc', 100, 0);} script <BODY onload = init ()> </BODY> <! ------- [Begin + End +] --------- typing effect --------->
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

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.