Template:ShowFile: Difference between revisions

m first ed
 
m pop in / out of html to do parameters
 
Line 28: Line 28:
// window.open(URL, windowName[, windowFeatures])
// window.open(URL, windowName[, windowFeatures])
// --------------------------------------
// --------------------------------------
theWindow=window.open(URL,'theWindow','scrollbars=no,width={{{width|250}}},height={{{height|30}}}');
theWindow=window.open(URL,'theWindow','scrollbars=no,width=</html>{{{width|250}}}<html>,height=</html>{{{height|30}}}<html>');
theWindow.focus();
theWindow.focus();
}
}