[Xerte] Re: FileLocation into URL link?
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Tue Sep 10 10:24:27 BST 2013
can you get at it with <a href="javascript:alert(FileLocation">click me</a>?
If so, you should be able to use some other javascript to do what you need (this is html5 / js?)
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 09 September 2013 23:10
To: Xerte list
Subject: [Xerte] Re: FileLocation into URL link?
Write the FileLocation value into the xml node prior to node instantiation or use setText after instantiation.
the_text_icon.setText("<a href='" + FileLocation + "media/rontest.pdf'> open pdf file <a>");
________________________________
From: knowledgeware at kccsoft.com
To: xerte at lists.nottingham.ac.uk
Date: Mon, 9 Sep 2013 14:42:17 -0700
Subject: [Xerte] Re: FileLocation into URL link?
I’m wondering if there is a way to utilitize the ‘FileLocation’ var info in a URL link in html on a typical xerte page. Ie
<a href=FileLocation +’media/rontest.pdf’> open pdf file <a>
I can’t get any permutation to work…. I know I’m using a screwdriver as a hammer… : - (
Anyone done this?
Thanks
RonM2
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.
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte
mailing list