Log In · Register

 
problem with the one entry code
dollface4ya
post Dec 31 2005, 10:24 PM
Post #1


Member
**

Group: Member
Posts: 17
Joined: Sep 2005
Member No: 222,115



ok i tried a lot of codes tht i found for the "one entry" && none of them works. I looked & looked but none of them works. Is there one out there tht actually works? plz help
 
 
Start new topic
Replies
dollface4ya
post Dec 31 2005, 11:21 PM
Post #2


Member
**

Group: Member
Posts: 17
Joined: Sep 2005
Member No: 222,115



ok, i have a xanga site. I just made tht one up. I just need to knoe the code for the one entry in my xanga site. Is this what i put in my webstats with my real username in replace of dollfacex3




<!-- begin code provided by createblog.com -->
<script>
// Display Only One Entry

if(location.pathname=="/[ http://www.xanga.com/dollfacex3 ]"){
var longer = false;
var tds = document.getElementsByTagName('td');
for(i=0; i<tds.length;i++)
{
booga = tds[i].innerHTML.indexOf('blogheader');
if(booga==11){longer=false;break;}
boogie = tds[i].innerHTML.indexOf('javascript');
if(boogie == 19){longer=true;break;}
}
var tables = tds[i].getElementsByTagName('table');
var numBreaks = 0;
var x = 0;
if(longer==true){x=3;}else{x=1}
for(j=x; j<tables.length;j++)
{
numBreaks += tables[j].getElementsByTagName('br').length;
tables[j].style.display='none';
}
var divs = tds[i].getElementsByTagName('div');
for(j=2+(2*1)-2; j<divs.length;j++)
{
divs[j].style.display='none';
}
var breaks = tds[i].getElementsByTagName('br');
for(j=breaks.length-5-numBreaks;j<breaks.length;j++)
{
breaks[j].style.display='none';
}
var horizontals = tds[i].getElementsByTagName('hr');
var j = horizontals.length-1;
horizontals[j].style.display='none';
}
</script>
<!-- end code provided by createblog.com -->
 

Posts in this topic
dollface4ya   problem with the one entry code   Dec 31 2005, 10:24 PM
niez_cho   I am sure this one works: http://www.createblog.co...   Dec 31 2005, 10:30 PM
dollface4ya   it doesn`t work   Dec 31 2005, 10:32 PM
fishcake-y   What browser are you using? Doesn't work in Mo...   Dec 31 2005, 10:38 PM
dollface4ya   internet explorer   Dec 31 2005, 10:39 PM
fishcake-y   Oh. Code is case sensitive. So, if you put kk for ...   Dec 31 2005, 10:42 PM
dollface4ya   so saymy xanga user name is dollfacex3 i would typ...   Dec 31 2005, 10:44 PM
niez_cho   Uhh no. Just type dollfacex3.   Dec 31 2005, 10:54 PM
dollface4ya   i did type my username like tht, but still it didn...   Dec 31 2005, 10:56 PM
fishcake-y   No. That's not what I meant.... [ http://www.x...   Dec 31 2005, 11:00 PM
dollface4ya   so this is what i put in my webstats <...   Dec 31 2005, 11:05 PM
fishcake-y   Use a codebox/code. [ http://www.xanga.com/dollfac...   Dec 31 2005, 11:06 PM
dollface4ya   Like this?? <!-- begin code provided ...   Dec 31 2005, 11:12 PM
fishcake-y   No...... I was providing the URL so I could show y...   Dec 31 2005, 11:13 PM
dollface4ya   tht`s not my real site   Dec 31 2005, 11:15 PM
fishcake-y   Well then, of course it's not going to work. ...   Dec 31 2005, 11:18 PM
dollface4ya   ok, i have a xanga site. I just made tht one up. I...   Dec 31 2005, 11:21 PM
fishcake-y   Again, it's the first, not the latest. <s...   Dec 31 2005, 11:27 PM
dollface4ya   i have no clue what you mean by case sensitive ...   Dec 31 2005, 11:30 PM
fishcake-y   CASE SENSITIVE isn't the same as case sensitiv...   Dec 31 2005, 11:34 PM
dollface4ya   now i knoe what it means, && i did what yo...   Dec 31 2005, 11:36 PM
fishcake-y   Are you positive? Because one character difference...   Dec 31 2005, 11:39 PM
dollface4ya   yea i knoe it only works in public   Dec 31 2005, 11:42 PM
dollface4ya   did you really try it cohs my friend tries it also...   Dec 31 2005, 11:53 PM
digital.fragrance   Try putting it in your header - just to rule out t...   Jan 1 2006, 02:23 PM


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