Help - Search - Members - Calendar
Full Version: Post limitations per page
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
Kaggypants
I can't seem to find the code that limits the number of posts Xanga displays per page. I don't even know if Xanga is capable of this.

My posts are usually very very long. For instance, this week I uploaded 214 photos and when people open my Xanga their computer most likely lags unless it has a high processor speed.

Even on my comp that is pretty fast I still lag!

http://www.xanga.com/Kaggypants

I don't have premium but have been thinking about getting it. Is this a premium only feature? Thank you very much in advance for the help and I'm sorry if it has been posted before. I just searched for a good 2 hours on these forums for my answer and didn't see it at all, nor did I see it in the stickies.

Honestly, I just want my Xanga to have one post per page so it doesn't lag so much! Thank you in advance.
Kaggypants
QUOTE(fishcake-y @ Jul 2 2006, 3:15 AM) *


Thank you very much!
Kaggypants
Unfortunately, I spoke too soon. Neither script seems to work. My username is Kaggypants. Here's the code I inserted into website stats section of Look&Feel:

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

if(location.pathname=="Kaggypants"){
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 -->




I tried:

http://www.xanga.com/Kaggypants (using both case sensitive and non-case sensitive)

as well as

Kaggypants (using both case sensitive and non-case sensitive)

I also tried doing public preview (since it doesn't work in private) and also logged off completely. I asked my friend to go to my Xanga and he said it wasn't working.
Kaggypants
So...no one knows? :O Great...
whataloser
just put
pathname=='/home.aspx')
instead of
pathname=='/YOURUSERNAME')

and if you want to keep your next and previous links, this code still works for me
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.