<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: No Close Button InfoWindow in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127347#M11780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marked tomfumb's reply as the answer even though many supplied good input.&amp;nbsp; His suggestion about unselecting the styles one at a time is what helped me the most.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2012 15:21:29 GMT</pubDate>
    <dc:creator>bobmcmichael</dc:creator>
    <dc:date>2012-11-27T15:21:29Z</dc:date>
    <item>
      <title>No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127340#M11773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I hope this is posted in the right subforum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Arcgis and for some reason the little 'x' close button is not showing up on my info window.&amp;nbsp; There aren't any errors listed on the page when I go into debug mode in the browser.&amp;nbsp; I'm using version 2.7 but I have tried different versions to no avail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code I use for displaying an InfoWindow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var template = new window.esri.InfoTemplate(); template.setTitle(self.getPopUpTitleContent); // self = this (yes, it's defined) template.setContent(self.getPopUpTextContent);&amp;nbsp; self.featureLayer = new window.esri.layers.FeatureLayer(featureCollection, { &amp;nbsp; mode: window.esri.layers.FeatureLayer.SELECTION_NEW, &amp;nbsp; id: 'anAwesomeLayer', &amp;nbsp; infoTemplate: template }); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.map.addLayers([self.featureLayer]); self.map.infoWindow.resize(275,275);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There should be a little 'x' on the right of the title bar:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19528[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated!&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 16:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127340#M11773</guid>
      <dc:creator>bobmcmichael</dc:creator>
      <dc:date>2012-11-26T16:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127341#M11774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you got some CSS defined somewhere that might be hiding it?&amp;nbsp; Or are you missing some CSS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use some development tools e.g. firebug (in FF) or the built-in tools in other browsers to examine the element.&amp;nbsp; If your site is publicly available then perhaps post a link?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 18:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127341#M11774</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-26T18:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127342#M11775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you got some CSS defined somewhere that might be hiding it?&amp;nbsp; Or are you missing some CSS?&lt;BR /&gt;&lt;BR /&gt;Use some development tools e.g. firebug (in FF) or the built-in tools in other browsers to examine the element.&amp;nbsp; If your site is publicly available then perhaps post a link?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seconded - a very similar thing recently happened to me and it was due to CSS that I'd never seen before (added by another developer). The InfoWindow elements use overly-common class names (e.g. the title bar has the class 'title') and therefore can clash with other CSS in your site. I only saw the problem when I used Chrome's developer tools to inspect the title element then disable all styles one at a time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 21:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127342#M11775</guid>
      <dc:creator>TomCohen</dc:creator>
      <dc:date>2012-11-26T21:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127343#M11776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Seconded&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the voting tools on the right-hand side of each post to up-vote stuff you agree with &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 07:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127343#M11776</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-27T07:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127344#M11777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestions.&amp;nbsp; I used Chrome's dev tools to examine the CSS for the title.&amp;nbsp; All but one of the styles is coming from InfoWindow.css that is hosted at arcgisonline.com.&amp;nbsp; The only one that is not is a font-size style that I've overridden purposely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is another screenshot I took when examining the element with Chrome's dev tools.&amp;nbsp; It looks like there is a spot for the close button, but none appears.&amp;nbsp; I also included the relevant markup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep investigating the CSS of the varying levels of divs, etc that make up the infowindow to see if anything comes to light.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's an internal site so I can't post a link, but thanks for offering to take a look!&amp;nbsp; Thanks for the help so far!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19550[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19551[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:11:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127344#M11777</guid>
      <dc:creator>bobmcmichael</dc:creator>
      <dc:date>2012-11-27T13:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127345#M11778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AHAAAA! I GOT IT!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It WAS a CSS thing.&amp;nbsp; Twitter bootstrap was overriding a style!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for all the help!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127345#M11778</guid>
      <dc:creator>bobmcmichael</dc:creator>
      <dc:date>2012-11-27T13:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127346#M11779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;AHAAAA! I GOT IT!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It WAS a CSS thing.&amp;nbsp; Twitter bootstrap was overriding a style!!!&lt;BR /&gt;&lt;BR /&gt;Thank you for all the help!!!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Worth marking one of the replies as the answer then?&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 14:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127346#M11779</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-27T14:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: No Close Button InfoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127347#M11780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marked tomfumb's reply as the answer even though many supplied good input.&amp;nbsp; His suggestion about unselecting the styles one at a time is what helped me the most.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 15:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/no-close-button-infowindow/m-p/127347#M11780</guid>
      <dc:creator>bobmcmichael</dc:creator>
      <dc:date>2012-11-27T15:21:29Z</dc:date>
    </item>
  </channel>
</rss>

