I have created an InfoTemplate Pop up Window. The popup has a tab container that contains 3 tabs. I want to place a Field Name just next to the Zoom To link in popup info template at the bottom of the popup window.. Could someone please suggest me how to do that? My code snippets:
var template = new InfoTemplate(); template.setTitle("<b>${Name}</b>"); template.setContent(getWindowContent);
var cp3 = new ContentPane({ title: "Site Info", content: "<b>Name:</b>" + graphic.attributes.Name
Solved! Go to Solution.
Saroj,
Just like this sample does you just add the dom element (your label) using the same method:
Geoprocessing tool link in popup | ArcGIS API for JavaScript 3.19
var link = domConstruct.create("a",{ "class": "action", "id": "statsLink", "innerHTML": "Population", //text that appears in the popup for the link "href": "javascript: void(0);" }, query(".actionList", window.map.infoWindow.domNode)[0]);
Saroj,
Just like this sample does you just add the dom element (your label) using the same method:
Geoprocessing tool link in popup | ArcGIS API for JavaScript 3.19
var link = domConstruct.create("a",{ "class": "action", "id": "statsLink", "innerHTML": "Population", //text that appears in the popup for the link "href": "javascript: void(0);" }, query(".actionList", window.map.infoWindow.domNode)[0]);