Dynamic title

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

<p><Script><br /><! --<br />Var tx = new Array (<br />"◇ ::::::: Webpage creation learning area: :::::◇ welcome! ◇ ",<br />"◆ Welcome to the website of the webpage creation learning field! ◆ ",<br />"◆ A large number of online page production materials, materials, source code, online page production software, and related plug-in CDs are provided! ◆ ",<br />"◆ The most terrible enemy is the lack of strong belief! ◆ ",<br />"◆ Make others' lives better because of your survival! ◆"<br />);<br />Var txcount = 5;<br />Var I = 1;<br />Var wo = 0;<br />Var ud = 1;<br />Function animatetitle ()<br />{ <br />Required parameter doc ument. title = tx [wo]. substr (0, I) + "_";<br />If (ud = 0) I --;<br />If (ud = 1) I ++;<br />If (I =-1) {ud = 1; I = 0; wo ++; wo = wo % txcount ;}<br />If (I = tx [wo]. length + 10) {ud = 0; I = tx [wo]. length ;}<br />// If ({{doc ument. title. length <20) then ~document.title}{doc ument. title + "-";<br />// If (registry.doc ument. title. length = 20) registry.document.title=doc ument. title + "]";<br />// If (window.doc ument. title. length = 21) setTimeout ("window.doc ument. title = 'animierte Seitentitel ';", 1000 );</p><p>Parent.domaindetail doc ument. title = tx [wo]. substr (0, I) + "_";<br />SetTimeout ("animatetitle ()", 100 );<br />} <br />Animatetitle ();<br />// --> </Script> <script language = "JavaScript"><br /><! --<br />Function MM_openBrWindow (theURL, winName, features) {// v2.0<br />Window. open (theURL, winName, features );<br />}<br />// --><br /></Script></p>
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.