1 (edited by creaturecorp 2005-04-23 23:45)

Topic: Nested comments question

I have a nested comments script here, based on punBB's style. Everything goes well, until a thread grows to such a size that the boxes are squished up the edge.

I'm looking for a way to have the boxes level out at a certain point. They are indented with <blockquote>. Any suggestions?

EDIT: Feel free to play with it if you wish, just don't spam it.

I don't HAVE a signature, ok?

2

Re: Nested comments question

The comments are no doubt being generated by a loop. Why not put a counter on the loop and once it hits a certain point then you assign a class to the blockquote which can be used to override the indenting.

I may be going blind but I can't see any closing </blockquote>.

Re: Nested comments question

Maybe it would be better if the blockquote tags were simply excluded before the squishing started, with means of a counter like you  suggested. The only other problem then is it's not apparent which comment is a reply to which.

Maybe a fixed size table would prevent the squish?

Hopefully my site won't be busy enough to have such a large thread anyway. tongue

I don't HAVE a signature, ok?

Re: Nested comments question

I've decided to do this script with a "next 10" feature so it will keep the boxes from squishing. big_smile This also will save bandwidth.

I don't HAVE a signature, ok?