[Xerte] Re: SWF embedding

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Jun 6 12:18:49 BST 2011


What folder is the swf in, and what folder is the script in?

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Janis Ozols
Sent: 06 June 2011 11:02
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: SWF embedding

I have failed to embed SWF with php script into Xerte Learning object. SWF works fine but it doesn't interact with it's php script. I just can't figure out why... So I am trying to open the html page containing this SWF guestbook in the nice pop-up window with no menu bars and toolbars. How can I do that? I created a button in xerte putting a script to it - getURL("javascript:openPopup('mypage.com);");

and in the index.html containing my swf I added - <SCRIPT LANGUAGE="JavaScript">
<!--
function openPopup(url)
{
    window.open(url,"popup","width=300, height=300,left=10,top=10, status=no,location=no,menubar=no");
}
//-->
</SCRIPT>

But it doesn't seem to be working. Are there any advices how to open a controlled pop-up from Xerte.


Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110606/1127bbbd/attachment.html>


More information about the Xerte mailing list