hi yuniar,
I see from a previous post that you were able to do this in IE. Has it changed and is it now possible in Firefox.
(Are you sure you want to do this? Your user won't have any clue what has happened if you do so.
If you really sure, edit your embed.php and view.php file, around line 31 you will find this code:
if($submit_result['status'] === true){
Right under that line , insert this code:
echo "<script type=\"text/javascript\">top.window.opener = top;top.window.open('','_parent','');top.window.close();</script>";
exit;
That should close your window immediately.
However, the code above won't work in Firefox. Since I can't seem to find any javascript code to close Firefox tab.
Anybody know? )
thanks
Lydia