|
POST
|
Hi Robert, This is what I have: <div style="position:absolute; left:11.5px; top:242px; z-Index:999;"> <div data-dojo-type="dijit/TitlePane" data-dojo-props="title:' ', open:false"> <div data-dojo-type="dijit/layout/ContentPane" style="width:380px; height:280px; overflow:auto;"> <iframe width="600" height="490" src="https://egis3.lacounty.gov/dataportal/2013/11/07/los-angeles-county-sanitary-sewers)" style="margin-left: -268px; margin-top: -326px;"></iframe> </div> </div> </div> I would like to replace the sprite arrows in the title pane with this: <i class="fa fa-download" aria-hidden="true"></i> Is this easy to do? Brandon
... View more
12-28-2017
03:29 PM
|
0
|
3
|
1029
|
|
POST
|
I see. But shouldn't I still see the popup container?
... View more
12-27-2017
05:27 PM
|
0
|
5
|
2097
|
|
POST
|
I don't think so. I right clicked on the header and went to inspect. Then I went to console where it said top and couldn't find any x frame option. Brandon
... View more
12-27-2017
03:35 PM
|
0
|
8
|
2097
|
|
POST
|
Or is an infotemplate/popuptemplate more appropriate?
... View more
12-27-2017
03:08 PM
|
0
|
0
|
2097
|
|
POST
|
Hi Robert, I still have not been able to get the iframe to show via an esri popup. This what I have so far: var downloadBtn1 = dom.byId("Download"); on(downloadBtn1, "click", function (event) { app.map.infoWindow.setTitle("Download"); app.map.infoWindow.setContent( <iframe width="600" height="490" src="https://egis3.lacounty.gov/dataportal/2013/11/07/los-angeles-county-sanitary-sewers)" style="margin-left: -268px; margin-top: -326px;"></iframe> ); app.map.infoWindow.show(); } }); Does this look right at a glance?
... View more
12-27-2017
03:06 PM
|
0
|
11
|
2097
|
|
POST
|
Hi Robert, Do you also know if esri popups are only associated with layers or could one be created from a button onclick with custom contents? something like: var downloadbutton = document.getElementById('Download'); $(function() { $("#esripopup").dialog({ autoOpen: false }); $("#Download").on("click", function() { $("#popup").dialog("open"); }); }); Brandon
... View more
12-26-2017
10:56 AM
|
0
|
13
|
2097
|
|
POST
|
Hi Robert, Thanks for the info. I read up on what you were saying and found the online articles helpful. I could not find anything about the iframe being from the same source. Are you saying if your site is http you can use a http iframe but not a https iframe? I believe ESRI has their apps designed to run on https only. If this is correct, can't this be changed?
... View more
12-26-2017
08:03 AM
|
0
|
14
|
7225
|
|
POST
|
but it actually doesn't work using the sandbox either. It might not have to do with the app but esri popups overall
... View more
12-24-2017
10:43 AM
|
0
|
16
|
7225
|
|
POST
|
I think so. It is a story map. I will double check again but I tried https which worked but I couldn't get http to work.
... View more
12-24-2017
10:29 AM
|
0
|
0
|
7225
|
|
POST
|
This is great. This works just fine. Only for https it seems.
... View more
12-22-2017
04:49 PM
|
0
|
19
|
7225
|
|
POST
|
This is great. This works just. Only for https it seems.
... View more
12-22-2017
04:46 PM
|
0
|
3
|
1212
|
|
POST
|
Thanks Robert. I will try this later and will be sure to mark correct after. Brandon
... View more
12-22-2017
04:17 PM
|
0
|
20
|
7225
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-06-2017 08:25 AM | |
| 1 | 01-05-2018 10:12 AM | |
| 1 | 01-09-2018 10:27 AM | |
| 1 | 01-05-2018 07:36 AM | |
| 1 | 10-03-2017 10:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|