Skip to main content
Inspiring
July 13, 2007
Question

IM sound

  • July 13, 2007
  • 7 replies
  • 756 views
hey guys i have a website with IM , but my users are having problems, i need it to add a sound so that when someone sends a message, they can hear it, i have the IM css file "40 lines" can someone help me on what i need to add to it to make it work, please?



this is the code:

*{margin: 0; padding: 0;}
table{border-collapse: collapse; border: none;}
table td{font-size: 12px;}

* html td.sh-r, * html td.sh-l, * html td.sh-t, * html td.sh-b, * html .cname{behavior: url("./_server/design/iepngfix.htc");}

table.chat{position: absolute; height: 422px; font: 12px/14px Tahoma, Verdana, sans-serif;}
.chat td.sh-r{background: url(../images/im/sh-r.png) no-repeat; width: 17px; height: 390px;}
.chat td.sh-l{background: url(../images/im/sh-l.png) no-repeat; width: 12px;}
.chat td.sh-t{background: url(../images/im/sh-t.png) no-repeat; height: 10px; width: 373px;}
.chat td.sh-b{background: url(../images/im/sh-b.png) no-repeat; height: 22px;}
.chat td.chatcont{width: 345px; background: url(../images/im/cont-bg.jpg); vertical-align: top;}

table.chathead{width: 100%;}
.chattitle{padding-left: 8px; width: 100%; cursor: move; height: 45px;}
.chaticons ul{width: 36px; height: 38px; background: url(../images/im/icon_close.gif);}
/*.chaticons ul{width: 72px; height: 38px; background: url(../images/im/icons.gif);}*/
.chaticons ul li{width: 30px; height: 30px; float: left; display: block; margin: 3px 2px 0; cursor: pointer; cursor: hand;}

table.chatmain{width: 100%;}
.chatmain td{vertical-align: top;}
.chatmain .chatbody{margin: 9px 8px; width: 212px; height: 279px; overflow: auto; background: #8BBBCB url(../images/im/chatbody-bg.jpg) repeat-x 0 0; border: 1px solid #23647A;}
.chatbody .cumsg{padding: 1px 5px; color: #FFF;}
.chatbody .odd{color: #FDE803;}
.cumsg .cunick{font-weight: bold;}

form.cinput{margin: 10px 0 0 8px; position: relative;}
.cinput input{background: #D3EAEE url(../images/im/cinput-bg.jpg) repeat-x 0 0; width: 212px; border: 1px solid #23647A; border-bottom: 7px solid #18798D; height: 19px !important; height /**/: 27px; color: #195A70;}
.cinput .csubmit{position: absolute; width: 95px; height: 66px; background: url(../images/im/btn-send.gif); cursor: pointer; cursor: hand; right: -107px; top: -30px}

td.chatside{width: 100%;}
.cname{width: 92px; height: 73px; background: url(../images/im/bubble.png); margin-left: 18px; text-align: center; position: relative; z-index: 6;}
.cname h3{line-height: 50px; font-size: 17px; color: #2E6F85;}
.cphoto{margin: -21px 0 0 7px; background: url(../images/im/photo-frame.gif) no-repeat; width: 106px; height: 116px; position: relative; z-index: 5;}
* html .cphoto{margin-left: 7px !important; margin-left /**/: 9px;}
.cphoto img{position: relative; top: 7px; left: 7px;}
.cdesc{margin: 0 10px 0 15px; list-style: none; font-size: 9px !important; line-height: 12px; color: #FFF !important;}
.cdesc li{padding: 1px 4px; display: block;}
.cdesc li.odd{background: #8AA5AF; border-right: 2px solid #6398AA;}
.cdesc span{font-weight: bold;}

Thanks so much.
This topic has been closed for replies.

7 replies

Inspiring
July 18, 2007
Thanks i will do that right now :-)
Inspiring
July 18, 2007
> ok, sorry about that. Here it is :
> http://therainbowpride.com/IM/

Perfect. now, unfrotunately, I don't know Javascript to that extent.

I'd suggest starting a new thread and title it 'adding sound via javacript'
and then include this link. Hopefully a Javascript expert can then jump in
and help you out.

-Darrel


Inspiring
July 17, 2007
ok, sorry about that. Here it is :
http://therainbowpride.com/IM/

this is what i have in the IM folder of my script

thanks again
Inspiring
July 17, 2007
> Thanks buddy. I have the java flies "4" would u know what i need to do by
> looking at them?

Are these Java? Or Javascript? If Java, then this is likely a compiled
applet. You'd need to work with the source code and have an understanding of
the java programming language to make this update.

If javascript, then post a link and someone might be able to help you out.

-Darrel


Inspiring
July 17, 2007
hey there, thanks so much for the fast reply.
Yes it is Javascript, i have uploaded the files here :

http://files-upload.com/379600/IMrar.rar.html

Thank you ever so much, tired of having my users complaining :-(
Cheers
Inspiring
July 17, 2007
Sorry that link is not good , here goes an easy one:
http://uploadjar.com/175069

thanks again
July 17, 2007
I would have thought the first place to try was the people who wrote the scripts, it could already be an option that you need to turn on.
Inspiring
July 16, 2007
Thanks buddy. I have the java flies "4" would u know what i need to do by looking at them?
i dont want to post them here since its too many, but i need help on that desperately.
If you or anyone else could help me, would be saving me alot of trouble. I can email the files if needed.

Thanks
Inspiring
July 16, 2007
> hey guys i have a website with IM , but my users are having problems, i
> need it
> to add a sound so that when someone sends a message, they can hear it, i
> have
> the IM css file "40 lines" can someone help me on what i need to add to it
> to
> make it work, please?

CSS has nothing to do with sound.

The sound would have to come from the software that's being used to run the
IM. Flash? Java?

-Darrel