Atherton: Half the men in this room wish you were on their arm, tonight. Inara: Only half. I must be losing my indefinable allure.

'Shindig'


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.

To-do list


Jon B. - Oct 25, 2004 5:01:49 pm PDT #8484 of 10000
A turkey in every toilet -- only in America!

There should already be something in the stylesheet. It's a class called "white-plus-sign". Not the best name, but I think it'll work.


Gus - Oct 25, 2004 5:05:57 pm PDT #8485 of 10000
Bag the crypto. Say what is on your mind.

"white-plus-sign" is committed to white. The "transparent" color val works fine with backgrounds that are not white.


Jon B. - Oct 25, 2004 5:07:51 pm PDT #8486 of 10000
A turkey in every toilet -- only in America!

Sorry -- I meant that we could change the white-plus-sign to transparent and it would do what it's currently doing as well as the spoiler font stuff.

t edit In fact, if we're talking about letting people change the background color, then we have to change the white-plus-sign class to work with that.


Gus - Oct 25, 2004 5:13:00 pm PDT #8487 of 10000
Bag the crypto. Say what is on your mind.

I meant that we could change the white-plus-sign to transparent and it would do what it's currently doing as well as the spoiler font stuff.

Yup. Change white-plus-sign to transparent, substitute the font replacement in quickedit to an enclosing white-plus-sign div. Easy peasy.


Jon B. - Oct 25, 2004 5:24:54 pm PDT #8488 of 10000
A turkey in every toilet -- only in America!

Actually, IIRC, you'd want to use a SPAN tag, not a DIV. A DIV puts its contents in its own paragraph, at least in some browsers (I'm too lazy to check the spec). SPAN does not.


tommyrot - Oct 25, 2004 6:35:17 pm PDT #8489 of 10000
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

eta: I typed:

<font size="-2">I can't "do" this</font>

and I end up with:

I cant do this

the HTML changes to:

<font size='-2' >I cant do this</font >


Gus - Oct 25, 2004 6:41:43 pm PDT #8490 of 10000
Bag the crypto. Say what is on your mind.

Dang, tommyrot discovered the scare quotes gobbler I snuck into the code.

Nah, That's a bug.

OK, span is more better than div, for this purpose. Unfortunately, transparent is giving me a hard time for text color attribute. She don't want to work in some browsers. Grr. I'll try to craft an expression() to grab the bgColor, after work.


§ ita § - Oct 25, 2004 8:18:28 pm PDT #8491 of 10000
Well not canonically, no, but this is transformative fiction.

Crafting expressions makes us browser dependent, doesn't it? If we can control changing the background colour in a style sheet, we can control changing the definition of the spoiler class/style/whatever.

I'd just go that way.


aurelia - Oct 25, 2004 9:11:47 pm PDT #8492 of 10000
All sorrows can be borne if you put them into a story. Tell me a story.

October 25, 2004, 11:02 pm aurelia[795]: ERROR [2] Unknown modifier '2' line 597 of file /home/httpd/vhosts/buffistas.org/httpdocs/classes/post.php

October 25, 2004, 11:02 pm aurelia[795]: ERROR [2] Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/buffistas.org/httpdocs/classes/giles.php:64) line 45 of file /home/httpd/vhosts/buffistas.org/httpdocs/processPost.php

I was trying to post a link to a google results page. Does this mean I was doing something wrong, or that the server choked on something?


Gus - Oct 25, 2004 11:18:27 pm PDT #8493 of 10000
Bag the crypto. Say what is on your mind.

The server choked on something weird in the link. If you still have that link around, you could maybe send it to my profile addy, so I can see how to protect us from it happening again.

eta: Got your link. Thanks aurelia.

It looks fine, to me: [link]

... doesn't choke now, so I'm going with the malevolent gamma rays theory.

further edit: ita, that makes sense. I just added the span to the replacement regex, then. There was already a "spoiler" class in the css, so I used it.