Smooth Op 1.0b2 custom background colors?

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
DhruvK
Harmless
Posts: 6
Joined: Tue Jul 19, 2005 9:00 am

Smooth Op 1.0b2 custom background colors?

Post by DhruvK »

Hey all,

I'm trying to mod the Smooth Operator 1.0b2 release to display incoming and outgoing custom background colors for text. This being my first foray into tweaking a message style, I'm completely lost. I read the definition page in the Wiki, but I'm still a little confused. Is there a simple way to do this, even if it's a crude workaround?

Thanks!
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

With Smooth Operator? Sure:
1. Find a message style that already does this. Pixol does; it might help.
2. Look at hos they are using the keyword... ==textbackground== or something like that.
3. Apply the use to SO and make the images semi-transparent.
Blog | X(tras)
Communists code without classes.
DhruvK
Harmless
Posts: 6
Joined: Tue Jul 19, 2005 9:00 am

Post by DhruvK »

ok halfway there...

Anyone have any ideas how to get the background to stop spilling out of the boxes?

Image

I simply replaced the div message code in Contents.html in both the Incoming and Outgoing folders with this:

Code: Select all

 <div class="message" style="background-color:%textbackgroundcolor{}%;">
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

You can't I think... hmm...
Blog | X(tras)
Communists code without classes.
Post Reply