Has anyone found a nice solution for elegantly ending a session viewing a Xerte created SCORM object in Moodle. I tried to put a hyperlink in my final page to take me back to the Moodle home page , this worked , but it just pushes the Moodle player window behind the browser and then when a new object is opened it appears in the background i.e. you don't see it.
The only 'solution' I have found I have is to close the window by hitting the cross in the upper right of the browser window. Which is rather ugly.
I found a nice bit of html to add a window close button
Sorry it's been so long and no-one has replied to this. Did you ever manage to find anything that would work reliably?
I had a quick Google and it seems that others have a similar issue, although not with XOT, but have found no solution so it may not be possible in a short line of code but require something more substantial to communicate back to MOODLE...
Did you try window.close() although I expect this to exhibit the same behaviour as self.close()