- Code: Select all
function alert()
{
$objResponse = new xajaxResponse();
$objResponse->addAssign("alert","innerHTML","<embed src='entered.wav' hidden=true autostart=true loop=false>");
return $objResponse->getXML();
}
in srcphpfreechat.class.php:
and
- Code: Select all
<span id='alert'></span>
in defaultchat.html.tpl.php
I have entered.wav in defaut and in the root.
I get no error messages but it doesn't work. Any help is appreciated.