This has been running fine in IE, FF, and Safari for years. Now it errors out in IE8. I have no idea why. The page validates fine.
function _windowNew(url,name,horSize,vertSize,statusBar,menuBar,toolBar,reSize,scrollBars) {
if (!statusBar) {statusBar="no";}
if (!menuBar) {menuBar="no";}
if (!toolBar) {toolBar="no";}
if (!reSize) {reSize="no";}
if (!scrollBars) {scrollBars="no";}
var parms = 'width=' + horSize + ',height=' + vertSize + ',status=' + statusBar + ',menubar=' + menuBar + ',resizable=' + reSize + ',scrollbars=' + scrollBars + ',toolbar=' + toolBar;
window.open(url,name,parms);
}
Link: Click on: All Vermont teens are at risk
Thanks,
Paul
function _windowNew(url,name,horSize,vertSize,statusBar,menuBar,toolBar,reSize,scrollBars) {
if (!statusBar) {statusBar="no";}
if (!menuBar) {menuBar="no";}
if (!toolBar) {toolBar="no";}
if (!reSize) {reSize="no";}
if (!scrollBars) {scrollBars="no";}
var parms = 'width=' + horSize + ',height=' + vertSize + ',status=' + statusBar + ',menubar=' + menuBar + ',resizable=' + reSize + ',scrollbars=' + scrollBars + ',toolbar=' + toolBar;
window.open(url,name,parms);
}
Link: Click on: All Vermont teens are at risk
Thanks,
Paul