simon.miles.rbwm

iframes and popups

Discussion created by simon.miles.rbwm on Jun 29, 2011
Latest reply on Jun 29, 2011 by hzhu
I require a bit of help with some code, I'm using the following to insert an iframe into a popup. However i cant seem to get it to pull through a web page.

  else if (result.layerName === 'PLANNING_APP'){
              var template = new esri.InfoTemplate("", "<b>Planning Application</b></br> <iframe src='http://www.rbwm.gov.uk/pam/view.jsp?ID=${REFVAL} width='100%' height='300'></iframe>'"); feature.setInfoTemplate(template);
    }

any ideas?

Outcomes