<link rel="stylesheet" type="text/css" href="css/layout.css"> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie.css" /> <![endif]-->
Hi, this bug seems to have returned with IE10. I have two apps, both using the basic viewer template. One is public facing - http://www.arcgis.com/apps/OnePane/basicviewer/index.html?appid=47856a432d904a5a8d8a9cab64b98bc1.
Nothing custom, just out of box config.
The other is an internal facing app which is based on basic viewer template (using an older version of api) and heavily customized.
Both have same behavior. You have to click several pixels to right of the feature to get the popup. This just started when we upgraded to IE10. Chrome, Firefox, IE9 all fine.
We are at 10.1 version of arcgis server still, if that matters.
Thanks
Zorba,
Looks like this is probably happening because loading conditional css is no longer supported after IE9. It sounds like you have a local install of this template is that the case? If so we can test to see if the issue is due to the ie stylesheet by adding the following code after the line that sets document.doClick =false in layout.js. Let me know if this fixes the issue locally?
require(["dojo/sniff"],function(has){
if(has("ie") || has("trident")){
var ss = document.createElement("link");
ss.type = "text/css";
ss.rel = "stylesheet";
ss.href = "css/ie.css";
document.getElementsByTagName("head")[0].appendChild(ss);
}
});
Thanks for the replay Kelly. That worked for my locally hosted app. Its an older version of the api, so there is no "document.doClick=false" line, but I figured out how to use it.
The other app I mentioned in my first post is not locally hosted, and has the same problem - http://www.arcgis.com/apps/OnePane/basicviewer/index.html?appid=47856a432d904a5a8d8a9cab64b98bc1. Seems this is a bug with the template, which is actually now called the "Classic Viewer" I believe. Are you planning to address it in an upcoming release?
Thanks
Yes Zorba this issue will be fixed in the Classic Viewer at the next release.
Thanks so much.
I have a another issue with the Javascript Basic Viewer template. I deploy the template to my local IIS, but the print won't work. I believe it's using a server function on ArcGIS.com, but my map services not open to the internet. How do I host that print service on my local server?
Thanks so much.
I have a another issue with the Javascript Basic Viewer template. I deploy the template to my local IIS, but the print won't work. I believe it's using a server function on ArcGIS.com, but my map services not open to the internet. How do I host that print service on my local server?
It's an issue with the application's css and the fix for this will be included in the next update to ArcGIS.com. If you are using a local copy of the template you can fix the issue by saving the attached file into the css folder and adding the following to the index.html file just below the tag that includes the layout.css file<link rel="stylesheet" type="text/css" href="css/layout.css"> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie.css" /> <![endif]-->