POST
|
Marked tomfumb's reply as the answer even though many supplied good input. His suggestion about unselecting the styles one at a time is what helped me the most.
... View more
11-27-2012
07:21 AM
|
0
|
0
|
888
|
POST
|
AHAAAA! I GOT IT! It WAS a CSS thing. Twitter bootstrap was overriding a style!!! Thank you for all the help!!!
... View more
11-27-2012
05:22 AM
|
0
|
0
|
888
|
POST
|
Thanks for the suggestions. I used Chrome's dev tools to examine the CSS for the title. All but one of the styles is coming from InfoWindow.css that is hosted at arcgisonline.com. The only one that is not is a font-size style that I've overridden purposely. Below is another screenshot I took when examining the element with Chrome's dev tools. It looks like there is a spot for the close button, but none appears. I also included the relevant markup. 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. It's an internal site so I can't post a link, but thanks for offering to take a look! Thanks for the help so far! [ATTACH=CONFIG]19550[/ATTACH] [ATTACH=CONFIG]19551[/ATTACH]
... View more
11-27-2012
05:11 AM
|
0
|
0
|
888
|
POST
|
I hope this is posted in the right subforum. I'm using Arcgis and for some reason the little 'x' close button is not showing up on my info window. There aren't any errors listed on the page when I go into debug mode in the browser. I'm using version 2.7 but I have tried different versions to no avail. The code I use for displaying an InfoWindow: var template = new window.esri.InfoTemplate(); template.setTitle(self.getPopUpTitleContent); // self = this (yes, it's defined) template.setContent(self.getPopUpTextContent); self.featureLayer = new window.esri.layers.FeatureLayer(featureCollection, { mode: window.esri.layers.FeatureLayer.SELECTION_NEW, id: 'anAwesomeLayer', infoTemplate: template }); self.map.addLayers([self.featureLayer]); self.map.infoWindow.resize(275,275); There should be a little 'x' on the right of the title bar: [ATTACH=CONFIG]19528[/ATTACH] Any help is greatly appreciated! Thanks in advance.
... View more
11-26-2012
08:28 AM
|
1
|
7
|
5662
|
Title | Kudos | Posted |
---|---|---|
1 | 11-26-2012 08:28 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|