4:39 am Saturday, February 04, 2012
     
SERVER TRANSFER COMPLETE. UNDER CONSTRUCTION.
            Search About Contact Home
AaronOutpost : ASP / Web Design / JavaScript / Title Dance

Title Dance Tutorial

This is a neat little code to cause the title of your webpage change and in turn I made it look like it's dancing. I made this code after reading an article from a book at the store stating how to change the title. I already forgot the name of the book though. Let's review the Code

View Title Dance Example

 
<SCRIPT language=JavaScript>
<!-- START OF TITLE DANCE By: Aaron B.
var message = new Array();

message[0] = "Aaron Outpost.com West Virginia, USA"
var reps = 2;
var speed = 200;
var length = message.length;
var T = "";
var C = 0;
var mC = 0;
var s = 0;
var sT = null;
if (reps < 1) reps = 1;
function TitleDance() {
T = message[mC];
A();
}
function A() {
s++;
if (s > 8) { s = 1;}
if (s == 1) { document.title = '._.·´¯`·._.·´¯`·._.·´¯`· '+T+' _.·´¯`·._.·´¯`·._.·´¯`·.'; }
if (s == 2) { document.title = '·._.·´¯`·._.·´¯`·._.·´¯` '+T+' .·´¯`·._.·´¯`·._.·´¯`·._'; }
if (s == 3) { document.title = '`·._.·´¯`·._.·´¯`·._.·´¯ '+T+' ·´¯`·._.·´¯`·._.·´¯`·._.'; }
if (s == 4) { document.title = '¯`·._.·´¯`·._.·´¯`·._.·´ '+T+' ´¯`·._.·´¯`·._.·´¯`·._.·'; }
if (s == 5) { document.title = '´¯`·._.·´¯`·._.·´¯`·._.· '+T+' ¯`·._.·´¯`·._.·´¯`·._.·´'; }
if (s == 6) { document.title = '·´¯`·._.·´¯`·._.·´¯`·._. '+T+' `·._.·´¯`·._.·´¯`·._.·´¯'; }
if (s == 7) { document.title = '.·´¯`·._.·´¯`·._.·´¯`·._ '+T+' ·._.·´¯`·._.·´¯`·._.·´¯`'; }
if (s == 8) { document.title = '_.·´¯`·._.·´¯`·._.·´¯`·. '+T+' ._.·´¯`·._.·´¯`·._.·´¯`·'; }
if (C < (8 * reps)) {
sT = setTimeout("A()", speed);
C++;
}
else {
C = 0;
s = 0;
mC++;
if(mC > length - 1) mC = 0;
sT = null;
TitleDance();
}
}
TitleDance();
// END OF TITLE DANCE -->

View Title Dance Example

 


AaronOutpost : ASP / Web Design / JavaScript / Title Dance

 

Random_Image
News & Updates

ASP Inline Calendar 3.9 (January 5, 2008)
Future Home of News & Updates (January 5, 2008)

 

Photo Special

Schedule an appointment

Available in & around:
Centreville VA, Spotsylvania VA,
Summersville WV, & Charleston WV
.

  • NAME YOUR PRICE
    • Email your:
    • Event
    • Hours Needed
    • Photos Needed
    • Disks or Prints
    • and Price You're Willing To Pay
ASP Inline Calendar

$100 Installation Special

PROFESSIONAL INSTALLATION OF YOUR ASP INLINE CALENDAR. REDUCE THE HASSLE, LET US INSTALL YOUR ASP INLINE CALENDAR. SEND A FORMAL REQUEST FOR INSTALLATION WITH SERVER ACCESS INFORMATION. WE WILL NEED FTP ACCESS ALONG WITH CONTROL PANEL ACCESS.

Purchase A Calendar
Information
Demo
Ask A Question

User must provide ftp access to server. Installations are not guaranteed. We work with your service provider to get your calendar installed.

 

Centreville, VA      -      Spotsylvania, VA      -      Charleston, WV      -      Summersville, WV

© Copyright AaronOutpost.com 2012. All rights reserved.