laptop and a wrench

Bogue

InfoWindow appears to be broken in some areas on the map when viewing a JavaScript application in Internet Explorer 6, and using Doctype as Transitional.

Dernière publication: November 21, 2014 ArcGIS API for JavaScript
Numéro d’ID de bogue NIM051252
EnvoiNovember 19, 2009
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée1.3
Langue du programmeJavaScript
Système d’exploitationWindows OS
Version du système d’exploitation2003
StatutWill Not Be Addressed

Informations supplémentaires

The ArcGIS API for JavaScript supports Internet Explorer 7 and greater.

Solution de contournement

The problem can be worked around by either modifying the infowindow.css of the locally hosted Javascript API with following lines or including the following lines of modified CSS in a style tag on html page - .infowindow .window .top .left .sprite {margin-top:0px; margin-left:-984px;} .infowindow .window .top .right {overflow:hidden; position:absolute; padding-right:5px; margin-left:5px;} .infowindow .window .bottom .left .sprite {margin-top:-990px; margin-left:-984px;} Below is the sample code which we need to add in to the html file instead of hosting the JSAPI Locally <style type="text/css"> <!--Adjust the position of map resize handle a little bit --> .dojoxResizeHandle { right: 0px; bottom: 0px; } .infowindow .window .top .left .sprite {margin-top:0px; margin-left:-984px;} .infowindow .window .top .right {overflow:hidden; position:absolute; padding-right:5px; margin-left:5px;} .infowindow .window .bottom .left .sprite {margin-top:-990px; margin-left:-984px;} .infowindow .window .bottom .right {height:10px; overflow:hidden; position:absolute; margin-left: 5px;} .infowindow .upperleft .sprite {margin-left:-800px; margin-top:-800px; margin-bottom:-156px;} .infowindow .upperright .sprite {margin-left:-902px; margin-top:-800px; margin-bottom:-156px;} </style> .infowindow .window .bottom .right {height:10px; overflow:hidden; position:absolute; margin-left: 5px;} .infowindow .upperleft .sprite {margin-left:-800px; margin-top:-800px; margin-bottom:-156px;} .infowindow .upperright .sprite {margin-left:-902px; margin-top:-800px; margin-bottom:-156px;}

Étapes pour reproduire

ID de bogue: NIM051252

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement