Select to view content in your preferred language

Popup window does not show close symbol

2184
5
Jump to solution
07-19-2012 06:36 AM
BillShockley
Deactivated User
Hello, hopefully this is a simple problem.  I am working with this sample:

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/fl_popup.html

I got my info to work with it, but my popup window is missing the symbol to close or scroll through the infomation:

ESRI version:

[ATTACH=CONFIG]16249[/ATTACH]

my verison:

[ATTACH=CONFIG]16250[/ATTACH]

sometimes the callout arrow does not even appear.  What is causing this?

Thanks in advance.
0 Kudos
1 Solution

Accepted Solutions
SiqiLi
by Esri Contributor
Esri Contributor
Hi Bill,

Thank you for pointing this out. Just a quick tip I want to share with you, if you haven't used it. To find out the correct path, an easy way is to use a web development tool (e.g. Firebug, Fiddler, and etc.) to track the requests. I used firebug for this case, and firebug shows which path it looks into for the image. That is how I found out the popup.png needs to be put in the wwwroot/images folder. Hope this tip is helpful. Thanks.
[ATTACH=CONFIG]16287[/ATTACH]

View solution in original post

0 Kudos
5 Replies
StephenLead
Honored Contributor
Hi Bill,

Note the line at the top of the HTML page for that sample, which includes some specific CSS for the popup. Have you definitely included that in your code:

 <link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.0/js/esri/dijit/css/Popup.css">


Steve
0 Kudos
by Anonymous User
Not applicable
Original User: bmwgsbill

Hi Bill,

Note the line at the top of the HTML page for that sample, which includes some specific CSS for the popup. Have you definitely included that in your code:

 <link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.0/js/esri/dijit/css/Popup.css">


Steve


Yes I have that in my code.  Any other suggestions?
0 Kudos
SiqiLi
by Esri Contributor
Esri Contributor
The online sample gets a "popup.png" from http://help.arcgis.com/en/webapi/javascript/arcgis/demos/images/popup.png. The "popup.png" contains the close, minimize, next arrow, and etc icons.

When you put the sample onto your IIS, it tries to get the "popup.png" from http://<your server name>/images/popup.png. But because the image doesn't exist on your IIS, it returns NetworkError: 403 Not Found error.

So, please go ahead to download the "popup.png" and put it into your wwwroot/images folder. It shall fix the issue.
0 Kudos
by Anonymous User
Not applicable
Original User: bmwgsbill

The online sample gets a "popup.png" from http://help.arcgis.com/en/webapi/javascript/arcgis/demos/images/popup.png. The "popup.png" contains the close, minimize, next arrow, and etc icons.

When you put the sample onto your IIS, it tries to get the "popup.png" from http://<your server name>/images/popup.png. But because the image doesn't exist on your IIS, it returns NetworkError: 403 Not Found error.

So, please go ahead to download the "popup.png" and put it into your wwwroot/images folder. It shall fix the issue.


the image was there.....I just had the path incorrect.  Thanks.  I really wish ESRI would had comments into the sample section as to where a new user like myself needs to make changes.  This one was simple...but it can drive a person crazy trying to figure it all out.
0 Kudos
SiqiLi
by Esri Contributor
Esri Contributor
Hi Bill,

Thank you for pointing this out. Just a quick tip I want to share with you, if you haven't used it. To find out the correct path, an easy way is to use a web development tool (e.g. Firebug, Fiddler, and etc.) to track the requests. I used firebug for this case, and firebug shows which path it looks into for the image. That is how I found out the popup.png needs to be put in the wwwroot/images folder. Hope this tip is helpful. Thanks.
[ATTACH=CONFIG]16287[/ATTACH]
0 Kudos