<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Can you talk to the DOM directly with callJS?<br>Maybe just window.location?<br><br><br><br><hr id="stopSpelling">Subject: RE: [Xerte] detect/retrieve url of an LO<br>Date: Thu, 17 Sep 2009 15:40:36 -0700<br>From: Paul.Swanson@harlandfs.com<br>To: xerte@lists.nottingham.ac.uk<br><br>






<style>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri','sans-serif';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass span.EC_EmailStyle17
{font-family:'Calibri','sans-serif';color:windowtext;}
.ExternalClass span.EC_EmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;font-weight:normal;font-style:normal;text-decoration:none none;}
.ExternalClass span.EC_EmailStyle19
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.EC_EmailStyle20
{font-family:'Calibri','sans-serif';color:#1F497D;font-weight:normal;font-style:normal;text-decoration:none none;}
.ExternalClass .EC_MsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass div.EC_Section1
{page:Section1;}
</style>





<div class="EC_Section1">

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">You might try a javascript
function in the launching web page:</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">function returnURL() {</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp; var baseURL = document.URL;</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp; return baseURL;</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">}</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">Then use Xerte’s callJS() method
to get it.</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="EC_MsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>RonM<br>
<b>Sent:</b> Thursday, September 17, 2009 3:29 PM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] detect/retrieve url of an LO</span></p>

</div>

</div>

<p class="EC_MsoNormal">&nbsp;</p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Thanks for the
suggestion but that doesn’t work for what I want. _url comes close but this may
be a question for Pat as what I really want is to automatically detect, or at
least dynamically create, the public url of the LO. Hopefully Pat will have a
suggestion tomorrow.</span></p>

<p class="EC_MsoNormal"><a name="_MailEndCompose"></a><span style="color: rgb(31, 73, 125);" lang="EN-GB">&nbsp;</span></p>

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="EC_MsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Paul Swanson<br>
<b>Sent:</b> 17 September 2009 22:53<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] detect/retrieve url of an LO</span></p>

</div>

</div>

<p class="EC_MsoNormal"><span lang="EN-GB">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">FileLocation?</span></p>

<p class="EC_MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="EC_MsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>RonM<br>
<b>Sent:</b> Thursday, September 17, 2009 2:50 PM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> [Xerte] detect/retrieve url of an LO</span></p>

</div>

</div>

<p class="EC_MsoNormal">&nbsp;</p>

<p class="EC_MsoNormal"><span lang="EN-GB">Hi Pat/Julian</span></p>

<p class="EC_MsoNormal"><span lang="EN-GB">I should probably know this but is there a
system variable or functions or something which automatically contains the url
of the LO? </span></p>

<p class="EC_MsoNormal"><span lang="EN-GB">Cheers</span></p>

<p class="EC_MsoNormal"><span lang="EN-GB">Ron</span></p>

</div>

</div>

</div><br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='http://clk.atdmt.com/GBL/go/171222986/direct/01/' target='_new'>Get it now.</a></body>
</html>