I am using exhibit-api.js
and D3.js
Problem I am having is that on map-lens
in my map I have provided the hyperlink. Until yet its opening the new window or new page fine from hyperlink
. But what I need is to open the page in jQuery
popup window.
I have tried everything but the javascript is unable to find the <a>
tag with id
or class
what am I doing wrong ?
What have I tried:
Following line of code is working but it opens page in new window, what I need is popup.
<a id="file" data-ex-href-content=".url" onclick="javascript:window.open('this.href','_blank','height=300;width=300;');">Interest Graph</a>
<script type="text/javascript">
$('#display').popupWindow({
centerScreen:1
})
</script>
Following is my code