Reputation: 1
I'm using a Dojo LinkContainer
within an AccordionContainer
. My goal is to have the link open a PDF in a new window, but the target property in the link doesn't seem to have any effect.
<a href="ermHelp.pdf" target="_blank" data-dojo-type="dijit/layout/LinkPane">
Using the Environmental Resource Mapper
</a>
Any ideas as to how I can get this to work?
Upvotes: 0
Views: 159
Reputation: 1545
Looking at the documentation it seems that the LinkPane
works by replacing the content of the HTML element with the content in the link - in your case the PDF file.
Since your intention is to just open a file in a new window, you could just remove the data-dojo-type
attribute and then it should work as expected.
Upvotes: 1