@hobbs
I'm tinkering with the jw box and would like to force it to close automatically. I've tried this unsuccessfully.
<strong><script type="text/javascript">
function playerReady(obj)
{
player = gid(obj.id);
player.addModelListener('STATE', 'stateMonitor');
}; function stateMonitor(obj)
{
if(obj.newstate == 'COMPLETED')
{
$.jwbox.player.sendEvent("STOP");
$.jwbox.player = null;
}
};
function gid(name)
{
return document.getElementById(name);
};
</script></strong>
Obviously I'm off the mark with my approach. Can you suggest anything that will get me on the right track?
Jimb


Ahhhh I got it now.
Jimb