Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit dc755d2

Browse files
authored
Merge pull request #54 from ISISComputingGroup/open_dataweb_in_newtab
open instrument dataweb in new tab rather than iframe
2 parents c2341e6 + 8cfd197 commit dc755d2

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

front_end/Overview/ibexOverview.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,7 @@ function open_wall_display(){
9696

9797

9898
function on_click(elmnt) {
99-
create_new_window();
100-
var newIframe = document.createElement("iframe");
101-
102-
newIframe.src = "https://dataweb.isis.rl.ac.uk/IbexDataweb/default.html?Instrument="+ elmnt.childNodes[0].nodeValue
103-
newIframe.width = "100%"
104-
newIframe.height = "40%"
105-
newIframe.frameborder = "0"
106-
107-
document.getElementById("internal").appendChild(newIframe);
99+
window.open("https://dataweb.isis.rl.ac.uk/IbexDataweb/default.html?Instrument="+ elmnt.childNodes[0].nodeValue, '_blank').focus();
108100
}
109101

110102
function display_data(data){

0 commit comments

Comments
 (0)