popup window close, next, previous buttons not showing

1825
4
Jump to solution
08-06-2012 01:49 PM
ConnieLeung
New Contributor II
Hi,

Following this example, I call the popup window to show the identify results.  However, my popup window does not show close, next record and previous record buttons.  See screen below

[ATTACH=CONFIG]16716[/ATTACH]


I've reference the stylesheets in the body tag
<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/esri/dijit/css/Popup.css">   

but seems like the css is not being picked up.

Any suggestions what I should do?

Thanks,
Connie
0 Kudos
1 Solution

Accepted Solutions
StephenLead
Regular Contributor III
Hi Connie,

Have you followed all of the steps listed in the Working With Popups help file?

Try installing Firefox and Firebug, which will allow you to inspect the CSS which is being used on the popup.

Steve

View solution in original post

0 Kudos
4 Replies
StephenLead
Regular Contributor III
Hi Connie,

Have you followed all of the steps listed in the Working With Popups help file?

Try installing Firefox and Firebug, which will allow you to inspect the CSS which is being used on the popup.

Steve
0 Kudos
ConnieLeung
New Contributor II
Steve,

Thanks for your suggestions.  After inspecting the css, I noticed that the titlePanel does not have a height (not sure why).  I hard coded it to a fixed value in order for it to work.

Thanks,
Connie
0 Kudos
BillShockley
Occasional Contributor
Hi,

Following this example, I call the popup window to show the identify results.  However, my popup window does not show close, next record and previous record buttons.  See screen below

[ATTACH=CONFIG]16716[/ATTACH]


I've reference the stylesheets in the body tag
<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/esri/dijit/css/Popup.css">   

but seems like the css is not being picked up.

Any suggestions what I should do?

Thanks,
Connie


I think that the problem is that its not finding what is called the sprite or popup.png image. in the popup.css:

http://serverapi.arcgisonline.com/jsapi/arcgis/3.1/js/esri/dijit/css/Popup.css

there is a reference in it:

background: url(../images/popup.png)

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

and follow these instructions:

'This sample customizes the look of the popup applying a custom theme. You can download the sprite here and modify it to fit your applcations color scheme. View the Working with Popups help topic for additional details on customizing the popup appearance.'


you will need an image directory to get it completed.
I hope this helps and makes sense.
0 Kudos
StephenLead
Regular Contributor III
Great point, Bill
0 Kudos