<html><head><base href="x-msg://31/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>The body contains a div containing the swf but does not appear to contain popup_parent.</div><div><br></div>I'm getting an error "parent is null" on the last line (<span class="sourceRowText" role="presentation">  parent.appendChild(create_div); ) </span>of makePopUp()<div><br></div><div><div><div>On 22 Aug 2012, at 14:33, Fay Cross wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-GB" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Your file seems the same as ours which is working.<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Is makePopUp() being called?  If not, try the attached embedDiv.rlm to see if it makes a difference.<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Have a look at the html for the page in Firebug.  The body tag should contain a div containing the swf and a div called popup_parent. The popup_parent should have an iframe in it.  Is your popup_parent div empty?<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span><a href="mailto:xerte-bounces@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">xerte-bounces@lists.nottingham.ac.uk</a><span class="Apple-converted-space"> </span>[mailto:xerte-bounces@lists.nottingham.ac.uk]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Simon Wood<br><b>Sent:</b><span class="Apple-converted-space"> </span>22 August 2012 14:04<br><b>To:</b><span class="Apple-converted-space"> </span>Xerte discussion list<br><b>Subject:</b><span class="Apple-converted-space"> </span>[Xerte] Re: "Embed Content" Page is blank<o:p></o:p></span></div></div></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">The source of the page is here: <a href="http://pastebin.com/KT2viTAL" style="color: blue; text-decoration: underline; ">http://pastebin.com/KT2viTAL</a><o:p></o:p></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I've installed Firebug for Firefox on Pat's advice when he was helping me with a separate problem, but it's not showing anything.<o:p></o:p></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Simon<o:p></o:p></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">On 22 Aug 2012, at 13:51, Dave Burnett wrote:<o:p></o:p></div></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><br><br><o:p></o:p></div><div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><br>What does a "view source" of the blank page show? <o:p></o:p></span></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></div></div><p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 12pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></p><div><div class="MsoNormal" align="center" style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-align: center; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><hr size="2" width="100%" align="center" id="stopSpelling"></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:<span class="apple-converted-space"> </span><a href="mailto:WoodSN2@cardiff.ac.uk" style="color: blue; text-decoration: underline; ">WoodSN2@cardiff.ac.uk</a><br>Date: Wed, 22 Aug 2012 13:41:51 +0100<br>To:<span class="apple-converted-space"> </span><a href="mailto:xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">xerte@lists.nottingham.ac.uk</a><br>Subject: [Xerte] Re: "Embed Content" Page is blank<br><br>Safari 5 and Firefox 14 on OS X Snow Leopard.<o:p></o:p></span></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">I created an embed page on the Sandpit, just to check it would work in my browser, and it does.<o:p></o:p></span></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">Simon<o:p></o:p></span></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></div><div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">On 21 Aug 2012, at 16:46, Dave Burnett wrote:<o:p></o:p></span></div></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></div><div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><br>IE or FF or Chrome or?<o:p></o:p></span></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></div></div><p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 12pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></p><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">> From:<span class="ecxapple-converted-space"> </span><a href="mailto:WoodSN2@cardiff.ac.uk" style="color: blue; text-decoration: underline; ">WoodSN2@cardiff.ac.uk</a><br>> Date: Tue, 21 Aug 2012 16:32:04 +0100<br>> To:<span class="ecxapple-converted-space"> </span><a href="mailto:xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">xerte@lists.nottingham.ac.uk</a><br>> Subject: [Xerte] "Embed Content" Page is blank<br>><span class="ecxapple-converted-space"> </span><br>> Using our Xerte Online Toolkits install, when I create an "embed content" page and preview/publish it, it is blank (title, no errors, but no content).<br>><span class="ecxapple-converted-space"> </span><br>> I think this has come up before so I've tried to follow how it was resolved - in particular I've updated modules/xerte/parent_templates/Nottingham/models/embedDiv.rlm to the latest version - but I haven't had any success. "Embed content" stays blank.<br>><span class="ecxapple-converted-space"> </span><br>> Is there anything else I should have updated or looked for?<br>><span class="ecxapple-converted-space"> </span><br>> Simon<br>><span class="ecxapple-converted-space"> </span><br>> - -<br>> Simon Wood<br>> Officer for Technology Enhanced Education<br>><span class="ecxapple-converted-space"> </span><br>> Learning and Teaching Support<br>> Cardiff University Registry<br>> 30-36 Newport Road<br>> Cardiff CF24 0DE<br>><span class="ecxapple-converted-space"> </span><br>> Tel: 029 2087 9428<br>> Email:<span class="ecxapple-converted-space"> </span><a href="mailto:WoodSN2@cardiff.ac.uk" style="color: blue; text-decoration: underline; ">WoodSN2@cardiff.ac.uk</a><br>><span class="ecxapple-converted-space"> </span><br>><span class="ecxapple-converted-space"> </span><br>> _______________________________________________<br>> Xerte mailing list<br>><span class="ecxapple-converted-space"> </span><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a><br>><span class="ecxapple-converted-space"> </span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>><span class="ecxapple-converted-space"> </span><br>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>><span class="ecxapple-converted-space"> </span><br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>><span class="ecxapple-converted-space"> </span><o:p></o:p></span></div></div></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span class="ecxapple-style-span"><o:p> </o:p></span></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.</span><o:p></o:p></div></div><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></span></div></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span class="ecxapple-style-span"><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">_______________________________________________</span></span><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><br><span class="ecxapple-style-span">Xerte mailing list</span><br><span class="ecxapple-style-span"><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a></span><br><span class="ecxapple-style-span"><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><br><br><span class="ecxapple-style-span">This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.</span><br><br><span class="ecxapple-style-span">This message has been checked for viruses but the contents of an attachment</span><br><span class="ecxapple-style-span">may still contain software viruses which could damage your computer system:</span><br><span class="ecxapple-style-span">you are advised to perform your own checks. Email communications with the</span><br><span class="ecxapple-style-span">University of Nottingham may be monitored as permitted by UK legislation.</span><br><br><br><o:p></o:p></span></div></blockquote></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><o:p> </o:p></span></div></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><br>_______________________________________________ Xerte mailing list<span class="apple-converted-space"> </span><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a><span class="apple-converted-space"> </span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><span class="apple-converted-space"> </span>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></span></div></div></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span class="apple-style-span"><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">_______________________________________________</span></span><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><br><span class="apple-style-span">Xerte mailing list</span><br><span class="apple-style-span"><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a></span><br><span class="apple-style-span"><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><br><br><span class="apple-style-span">This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.</span><br><br><span class="apple-style-span">This message has been checked for viruses but the contents of an attachment</span><br><span class="apple-style-span">may still contain software viruses which could damage your computer system:</span><br><span class="apple-style-span">you are advised to perform your own checks. Email communications with the</span><br><span class="apple-style-span">University of Nottingham may be monitored as permitted by UK legislation.</span><br><br><br></span><o:p></o:p></div></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div></div><span><embedDiv.rlm></span>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br><br>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br><br>This message has been checked for viruses but the contents of an attachment<br>may still contain software viruses which could damage your computer system:<br>you are advised to perform your own checks. Email communications with the<br>University of Nottingham may be monitored as permitted by UK legislation.<br><br></div></blockquote></div><br></div></body></html>