this example helped mehttp://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_infowindowchart.htmlhere is my tab functionfunction getWindowContent(graphic) { //make a tab container var tc = new dijit.layout.TabContainer({ style: "height: 100%; width: 100%;" }, dojo.create("div")); //display tab 1 var cp1 = new dijit.layout.ContentPane({ title: "Details", content: "<a target='_blank' href=${HTML}>Go There</a>" }); tc.addChild(cp1); //display tab 2 var cp2 = new dijit.layout.ContentPane({ title: "Location", content: "latitude: " + graphic.attributes.LAT + "<br />longitude: " + graphic.attributes.LON + "" }); tc.addChild(cp2); return tc.domNode; }good luck
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.