New pop up window link in a function
Another simple problem that i'm sure has an easy answer....
how do i set each link to open in a new window. the forums all talk about doing this with something similar to:
But for some reason I can't make it implement when using a "function" rather than the above code? Every time I try to paste the above code into my example below it breaks.
Basically all i need is to open a link in a new window for each of the following columns...sorry again for the lack of programming knowledge...
thank you in advance!!!
how do i set each link to open in a new window. the forums all talk about doing this with something similar to:
var link = new Active.Templates.Link;
link.setAttribute("target", "_new");
But for some reason I can't make it implement when using a "function" rather than the above code? Every time I try to paste the above code into my example below it breaks.
Basically all i need is to open a link in a new window for each of the following columns...sorry again for the lack of programming knowledge...
// COLUMN 14 LINK
var myLinks = function(column, row){
return "http://maps.google.com";
}
obj.setCellLink(myLinks, 14);
obj.setCellTemplate(new AW.Templates.Link, 14);
// COLUMN 15 LINK
var myLinks = function(column, row){
return "http://www.google.com";
}
obj.setCellLink(myLinks, 15);
obj.setCellTemplate(new AW.Templates.Link, 15);
// COLUMN 16 LINK
var myLinks = function(column, row){
return "https://www.google.com";
}
obj.setCellLink(myLinks, 16);
obj.setCellTemplate(new AW.Templates.Link, 16);
thank you in advance!!!
linkcrazy max
March 11,