It's not working on my Windows ME machine. It's still treating returns as one character.
Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
Correction: It's doing something in IE, but not in Mozilla.
Sorry about the confusion. From memory, I said something ambiguous like "want to check it out?".
It's not working on my Windows ME machine. It's still treating returns as one character.
OK so if you put in text with returns, it says "original length x", and then the next dialog that appears says "adjusted length x"?
OK I'm looking at it in Mozilla too and you're right, it doesn't see any linebreaks.
I'll tweak it.
OK tweaks completed. It adds one to the length for either a CR or an LF, as much as I understand those terms. It's the kind of stuff that baffles me.
As long as there isn't a platform/browser which puts CR and LF into a TEXTAREA when you hit return, then we're rocking and rolling.
OK, this is what I get for not checking things thoroughly beforehand -
Ignoring your tweaks, John, IE always counts a forced return as two characters whereas Mozilla (which I normally use) counts it as one. I'm sorry that I didn't notice this before.
So, now, with your tweaks, the script works in Mozilla, but overcounts in IE.
Oh, dear. Perusing the November search strings (and it's early yet, folks), I find "bertiz agnes", "clex smallville slash fan fiction", and "joss erection vampire interview".
And I was running numbers ... fiddling to find out post sizes (including HTML). Longest post is 6038 characters, and I have no idea how that slipped past the code limits. The ten wordiest posters average 1190.5, 1188, 944.42, 863.5, 790, 737, 699.94, 647, 643, and 628.24 characters per post.
ita - is the 1190.5 poster me? Because I can be wordy on occassion...
Nope. You don't make the top 30. To be honest, most of the top few posters have very few posts to their names ... they just came out of the gate long and then shut up.