AnsweredAssumed Answered

Link to Popup

Question asked by jay.kapalczynski on Nov 30, 2018
Latest reply on Dec 3, 2018 by rscheitlin

I have an info template returning a link.  

Right now with I click on it it opens to a new browser tab (_blank)

 

Looking for 2 options.  

1. Display this in a DIV

2. Pop this up into a new floating popup 

 

Any ideas

 

var infoHighwayCameras = new InfoTemplate();
     infoHighwayCameras.setTitle("Highway Cameras");       
     infoHighwayCameras.setContent("<table>" +
     "<tr><td id='tblTitle'>Highway Cameras</td><td id='tblTitle2'></td></tr>" +
     "<tr><td id='tblTitleLine'></td><td id='tblTitleLine2'></td></tr>" +
     "<tr><td></td><td></td></tr>" +
     "<tr><td id='tblMainline1'>image_url</td><td id='tblSubline2'><i>For Camera Image <a href='${image_url}' target='_blank'><font color='0x84CCDA'>click here</font></a>."+     
     "</table><hr>");     

Outcomes