Unterminated String Constant
Hi All,
function call_song(song, artist){
document.write('<html><body>');
document.write('<OBJECT ID="mediaPlayer" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" STANDBY="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject">');
Apparently There Is Something Wrong with this statment and it is saying 'Unterminated String Constant' Why??
document.write('<PARAM NAME="fileName" VALUE="N:\Music Manager\Music\' + artist + '-' + song + '.mp3">');
document.write('<PARAM NAME="animationatStart" VALUE="true">');
document.write('<PARAM NAME="transparentatStart" VALUE="true">');
document.write('<PARAM NAME="autoStart" VALUE="false">');
document.write('<PARAM NAME="showControls" VALUE="true">');
document.write('</OBJECT>');
document.write('</body></html>');
}
Cheers Anyone who can help me!!
__________________
Apocolypse2005, I'm a programmer - of sorts.
|