我正在使用exhibit-api.js和D3.js
我遇到的问题是map-lens在我的地图上我提供了超链接。直到它打开新窗口或新页面为止hyperlink。但我需要的是在jQuery弹出窗口中打开页面。
我已经尝试了一切,但 javascript 无法找到<a>标签id或class我做错了什么?
我尝试了什么:
以下代码行正在运行,但它会在新窗口中打开页面,我需要的是弹出窗口。
<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>
以下是我的代码