3.2.0

javascript window open link

Here's a solution to a problem I've seen in a few places - granted I'm not trying to get the url from the data, I'm linking to a single url - but I thought this might help someone perhaps:

// link
var link = new Active.Templates.Link;
link.setAttribute("href", "#");
link.setAttribute("onclick", "javascript:window.open('data/414-36680_DISCHARGE_SUMMARY.html','newWin','toolbar=no, scrollbars=yes, width=600')");
link.setAttribute("style", "padding-top:10px; padding-bottom: 20px;");
obj.setColumnTemplate(link, 4);
elsigh
April 8,

This topic is archived.

See also:


Back to support forum