Log In · Register

 
Question about window top & bottom
RandomHero
post Aug 12 2004, 01:55 PM
Post #1


oh sweet pestilence
******

Group: Member
Posts: 2,251
Joined: Jun 2004
Member No: 22,876



How do i do that? HERE for example Like it says, L<3ve is in the air//ft. Nick 'n Jessica and on the bottom it says, Jammin 2 kelly clarkson>>for your love. But on the bottom, the letters capitalize when you move the mouse. What's the code for that? I have been looking for it forever! wacko.gif
 
 
Start new topic
Replies
sherryvu
post Aug 12 2004, 03:08 PM
Post #2


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



this is for the top:
CODE
<!-- begin code provided by createblog.com -->
<script language="JavaScript">
document.title=('TITLE HERE')</script>
<!-- end code provided by createblog.com -->


and this is for the bottom:
CODE
<!-- begin code provided by createblog.com -->
<script language="javascript">
// moving capitalization - by xanga.com/godofphotoshop

var myString = "TEXT HERE";
var speed = 5; // lower = faster

// do not edit below this line
var change = 0;
var iterations = 0;
function revealText() {
 change++;
 if(change == speed) {
    change = 0;
    iterations++;
    var currentLetter = iterations % myString.length;
    window.status = myString.substr(0, currentLetter).toLowerCase() + myString.substr(currentLetter, 1).toUpperCase() + myString.substr(currentLetter + 1, myString.length - (currentLetter + 1)).toLowerCase();
    return true;
 }
}
document.attachEvent("onmousemove", revealText);
</script>
<!-- end code provided by createblog.com -->
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: