|
POST
|
Well, you can have a second copy of your CSS file, edited for IE's eccentricities, and browser sniff at page load. If you detect IE, load the IE CSS stylesheet instead of your normal stylesheet. I'm in the same boat- our shop is IE by default but they did roll out Chrome to everyone due to some IE vulnerability a while back.Every link opens in IE by default and I'm trying to find ways to circumvent that. One option is creating a shortcut that paths to Chrome's EXE and then append the URL for the app. I'm mulling over asking our IT department to add this shortcut to everyone's network profiles. There's a second option which I haven't gotten to work yet: URI Schemes. Essentially this is like "file://<path>" or "ftp://<url>" but there's one for chrome named ChromeHTML. It exists but I can't get it to work, even with the suggestions in the previous link. That would be great because I need to add a link to my app on our organization's Sharepoint site. Oh well..
... View more
10-21-2015
10:11 AM
|
0
|
0
|
2418
|
|
POST
|
You won't get it working with Internet Explorer, at least not anytime soon: Can I use?
... View more
10-21-2015
09:57 AM
|
1
|
0
|
2418
|
|
POST
|
In Chrome, I'd open the Developer Tools (F12) and select the button element. Once it's selected, play around with the CSS display property for that element. Maybe something like "display:table-cell" may get it to display inline with the other button. Once you figure out the "right" CSS display property, be sure to add that CSS property to the button object as you create it in your JS code.
... View more
10-20-2015
10:41 AM
|
1
|
1
|
1214
|
|
POST
|
Are we talking external, public facing maps or internal maps? For external, I think using some web stat keeping services like Google Analytics or Statcounter is the way to go. Server Statistics are certainly beneficial but I think not the full picture since one person's experience will end up being multiple requests against the Server as they pan & zoom the map. Web stats from GA or Statcounter will help track number of unique visits, repeat visits, and technology like desktop vs mobile, browser type, OS, etc.
... View more
10-20-2015
09:56 AM
|
1
|
0
|
1094
|
|
POST
|
My only other random thought was if you could use a SQL query to craft the response from your queryTask in the format you want. I know ESRI typically says "any standard SQL query" works but we all know that's not true..
... View more
10-20-2015
08:35 AM
|
0
|
0
|
2816
|
|
POST
|
AAAARRRRGGGGHHHH. I *HATE* this stinking forum software. My HTML got eaten up. Here's a screenshot of what it SHOULD have looked like:
... View more
10-20-2015
08:31 AM
|
0
|
1
|
2816
|
|
POST
|
HTML Table template: <table border="1" cellpadding="3" cellspacing="3">
<tr>
<td>County:</td>
<td>2015</td>
<td>2030</td>
</tr>
<tr>
<td>Total Population:</td>
<td><span id="lblPop2015"></span></td>
<td><span id="lblPop2030"></span></td>
</tr>
<tr>
<td>Population Under 17:</td>
<td><span id="lblPopUnder17_2015"></span></td>
<td><span id="lblPopUnder17_2030"</span></td>
</tr>
<tr>
<td>Population 17-44:</td>
<td><span id="lblPop17_44_2015"></span></td>
<td><span id="lblPop17_44_2030"></span></td>
</tr>
</table> JS: countyLayer.on("click", function(evt) {
fullAttrib = evt.attributes;
document.getElementById("lblPop2015").innerHTML = fullAttrib.TotalPopulation2015;
document.getElementById("lblPop2030").innerHTML = fullAttrib.TotalPopulation2030;
document.getElementById("lblPopUnder17_2015").innerHTML = fullAttrib.2015_PopulationUnderAge17;
document.getElementById("lblPopUnder17_2030").innerHTML = fullAttrib.2030_PopulationUnderAge17;
//etc etc etc
});
... View more
10-20-2015
08:28 AM
|
1
|
0
|
2816
|
|
POST
|
Obviously you have 2 columns for the years but how many rows are we talking? You might as well create an HTML table & use SPAN tags w/ IDs to just populate the table using element.innerHTML() once you have a map click event. & access to the data values A pain in the butt to initially code but it would work.
... View more
10-20-2015
08:15 AM
|
0
|
0
|
2816
|
|
POST
|
It worked for me, using your directions, with Chrome Version 44.0.2403.157 m Then I updated Chrome to Version 46.0.2490.71 m and now it hangs after it zooms to the parcel location. Weird.
... View more
10-19-2015
03:54 PM
|
0
|
0
|
1195
|
|
POST
|
It may not be but I certainly appreciate your post & overall explanation. Thanks, Tracy!
... View more
10-16-2015
04:04 PM
|
0
|
0
|
3779
|
|
POST
|
I'm not sure about the attribute inspector but in my app that uses the editor widget, it still gives me the record navigation buttons in the infoWindow's titlebar. I can't seem to get that to happen in the ESRI sample, though. Anyways, the infoWindow (ok, technically popup) does have method to advance to the next or previous selected item: map.infoWindow.selectNext() map.infoWindow.selectPrevious() Hmm..
... View more
10-15-2015
12:46 PM
|
0
|
2
|
714
|
|
POST
|
While I'm sure there is some user crossover between the two places, you should post this question over in the Web AappBuilder Space as well.
... View more
10-13-2015
03:47 PM
|
0
|
0
|
1560
|
|
POST
|
LegendLayerLabel looks more like the correct CSS class to target. I haven't used the legend widget so I don't have any experience with it so I'm basing my observations on the ESRI samples that use the widget. From what I can see in this sample, the label you want to get rid of does not have an ID or assigned a CSS class directly. The label appears to be a child element inside an HTML table which DOES get assigned the CSS class esriLegendLayerLabel. That should work but I can't tell why it's not working for you.
... View more
10-09-2015
03:28 PM
|
1
|
1
|
3575
|
|
POST
|
Whoops. I think I copied the name of the CSS class incorrectly. Switch your CSS to this: .esriLegendServiceLabel { display: none !important; }
... View more
10-09-2015
03:06 PM
|
0
|
4
|
3575
|
|
POST
|
I think you're on the right track. esriLegendServiceLabel is a CSS class so you should just be able to add an additional block of CSS into your project's CSS file: .esriLegendServiceLabel {
display: none;
} If it's not honoring this CSS modifier, try this instead: .esriLegendServiceLabel {
display: none !important;
} I tried this with ESRI's Legend demo and that eliminated the layer name like you're looking to do. Steve
... View more
10-09-2015
11:25 AM
|
1
|
6
|
3575
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | Thursday | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |