[Xerte] Is there a way to make an exit button?
Paul Swanson
Paul.Swanson at harlandfs.com
Thu Aug 7 18:10:07 BST 2008
So how do you access external javascript? I've added the following to
the script section of the html page:
function closeWindow () {
// closes this window
self.close ();
}
I've tried calling it with:
getUrl('javascript:closeWindow()');
and:
ExternalInterface.call('closeWindow');
Neither work, so I know I'm not doing it right. What's the correct
command and syntax? fsCommand?
Paul
________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Thursday, August 07, 2008 12:56 AM
To: Xerte discussion list
Subject: RE: [Xerte] Is there a way to make an exit button?
You've got it - it will have to be some javascript. I don't know
if you can close the window without that 'a script is trying to close
this window' security dialog.
Let me know how you get on - I could add a close function to the
html pages Xerte publishes,
J
________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: 06 August 2008 23:45
To: Xerte discussion list
Subject: [Xerte] Is there a way to make an exit button?
Is there a command that will close the Flash window?
rootIcon.exit(); leaves the "Loading Complete" message on screen. Or
will I have to call some javascript in the html page that launches the
course?
_____________________________
Paul Swanson
Portland, Oregon, USA
_____________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080807/84fff5d3/attachment.html
More information about the Xerte
mailing list