Now, I can hold a note for a long time...actually I can hold a note forever. But eventually that's just noise. It's the change we're listening for. The note coming after, and the one after that. That's what makes it music.

Host ,'Why We Fight'


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


§ ita § - Oct 25, 2004 4:43:52 pm PDT #8482 of 10000
Well not canonically, no, but this is transformative fiction.

It should be a style anyway, just so it's not tied in the HTML to the colour of the background.


Gus - Oct 25, 2004 4:56:39 pm PDT #8483 of 10000
Bag the crypto. Say what is on your mind.

Should be a style anyway, just so it's not tied in the HTML to the colour of the background.

I'm thinking in these terms:

. spoiler { font-family: "MS Sans Serif"; color: transparent; }

Which will allow changes in background color, without losing the blinvisbility of the spoiler.


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.