lilxchinesegrl
10-03-2004, 03:15 AM
how does she do that, on the bottom or i think it call taskbar, it say "you're been viewing this page for something sec, and subscribe to me, (username)...but she don't know me, but it say my username on the taskbar...how does she do that...thanx a lot
her xanga is www.xanga.com/mUsIk_Fo_U
kitty_katt07
10-03-2004, 04:43 AM
Put in webstats..edited bolded parts
<script language='javascript'>
// this code is from chatter.flooble.com
function getXName() {
for (var i = 0; i < document.links.length; i++) {
if(document.links[i].href.substring(0,38)=='http://www.xanga.com/private/home.aspx') {
var link = document.links[i];
var text = document.all ? link.innerText : link.text ? link.text : '';
return text;
break;
}}
return null;
}
xName = getXName();
// end of code from chatter.flooble.com
// the rest of this script was written by me
// (http://www.xanga.com/hotaru_01)
var pageTimer=0;
st=setTimeout;
var theText=1
var statusText='welcome to my xanga, '+xName+'.';
if(xName==null){
statusText='welcome to my xanga.'
}
var p1=0;
var p2=0;
st('doTimer()',1000);
doStatusBar();
function doTimer(){
pageTimer=pageTimer+1;
st('doTimer()',1000);
}
function doStatusBar(){
if(theText==2){
statusText='you have been viewing this page for '+pageTimer+' seconds.';
}
now=new Date();
window.status='TEXT < '+statusText.substr(p1,p2)+' ';
if(p1+p2<statusText.length){
p2=p2+1;
} else{
if(p1<statusText.length){
p1=p1+1;
p2=p2-1;
} else{
p1=0;
p2=0;
if(theText==1){
theText=2;
}else{
theText=1;
statusText='TEXT TEXT TEXT'.';
if(xName==null){
statusText='TEXT TEXT TEXT'
}
}
}
}
st('doStatusBar()',100);
}
</script>
lilxchinesegrl
10-03-2004, 07:06 AM
thanks.. but it doesnt work..
JiNgLeBeLLz77
10-03-2004, 08:38 AM
you can get the code here =]
http://kuvazokad.free.fr/xangascripts/statusbar.txt