Log In · Register

 
Code for status bar
bravodancer04
post Mar 2 2005, 01:42 PM
Post #1


Im as fake as a widow's smile ;)
******

Group: Member
Posts: 1,045
Joined: Feb 2005
Member No: 97,851



I have this code:



in my xanga, so that it says I just wanted you to know that I think we belong together moving across the top, but it doesnt work. can someone help me please?
 
 
Start new topic
Replies
threepointone
post Mar 2 2005, 03:44 PM
Post #2


Senior Member
****

Group: Member
Posts: 122
Joined: Feb 2005
Member No: 106,057



you seem to have left out the script tags.
fixed:
CODE
<!-- begin code provided by createblog.com -->

<script language="JavaScript">
var st
st=setTimeout;
var msg="Welcome to my Xanga"; // I just wanted you to know..that I think we belong together..

var interval = 250; // speed
seq = 0;
function ScrollIt() {
len = msg.length;
window.status = msg.substring(0, seq+1);
seq++;
if ( seq >= len ) { seq = 0 };
st("ScrollIt();", interval );
}
ScrollIt();
</script>
<!-- end code provided by createblog.com -->


actually, it is possible to use setTimeout; this script uses a pretty clever workaround.
 

Posts in this topic


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