no "close" button on popup

532
2
Jump to solution
03-09-2012 11:07 AM
evanpicard
New Contributor II
There is no "X" to close a popup.  There IS one, but I cant see it.  There's also a maximize button hiding in there, which is surprises me sometimes.
Where have I gone wrong?

        var popup = new esri.dijit.Popup({           fillSymbol: new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,0,0]), 2), new dojo.Color([255,255,0,0.25]))         }, dojo.create("div"));                   startExtent = new esri.geometry.Extent({"xmin":-17497000,"ymin":2165000,"xmax":-4132000,"ymax":6969000,"spatialReference":{"wkid":102100}});          map = new esri.Map("map", {            logo: false,           extent: startExtent,           infoWindow:popup         });             var salesRepcontent = "fields";            var salesRepTemplate = new esri.InfoTemplate("Sales Rep Data", salesRepcontent);            map.infoWindow.resize(215,175);                     var salesRepsLayer = new esri.layers.FeatureLayer("http://server/ArcGIS/rest/services/IndivTerritoriesOnly/SalesReps_simple/FeatureServer/0", {             opacity:.65,             mode: esri.layers.FeatureLayer.MODE_ONDEMAND,             outFields:["fields"],             infoTemplate:salesRepTemplate             });  





[ATTACH=CONFIG]12571[/ATTACH]
0 Kudos
1 Solution

Accepted Solutions
derekswingley1
Frequent Contributor
Do you have the popup's CSS in your page?

View solution in original post

0 Kudos
2 Replies
derekswingley1
Frequent Contributor
Do you have the popup's CSS in your page?
0 Kudos
evanpicard
New Contributor II
Do you have the popup's CSS in your page?


I had a local copy of it, but its not working properly.
I went back to the copy on esri's server, and its working fine now.
Thanks.
E
0 Kudos