Select to view content in your preferred language

arcgis works on IE but not Chrome/Firefox

4274
29
Jump to solution
09-03-2014 02:11 PM
NathanLindley
Deactivated User

Map just keeps trying to load in Chrome/Firefox but works great in Internet Explorer...any ideas??

Using:

<script type="text/javascript" src="http://js.arcgis.com/3.10/"></script>

Thanks in advance for any suggestions!

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Nathan,

   Try this fiddle. I think I have all the issues worked out

Edit fiddle - JSFiddle

View solution in original post

0 Kudos
29 Replies
RiyasDeen
Frequent Contributor

Hi Nathan,

Most likely there are other javascript code in your page which is not compliant with chrome/firefox.

Use firebug or chrome developer tool (F12) to identify the line where you are getting exception.

0 Kudos
NathanLindley
Deactivated User

Hey Riyas,

Thanks for responding to both posts.  So I tried firebug and was unable to find any exceptions.  Is there something I can paste in here from that to help determine the problem?

Thanks again!

0 Kudos
KenBuja
MVP Esteemed Contributor

Can you make a demo in JSBin or JSFiddle that would illustrate this?

And since this is a Javascript question, you should move it to that space and add some appropriate tags. This will help others when searching on this problem.

0 Kudos
NathanLindley
Deactivated User

I am not very familiar with actually creating a JSFiddle example, but I tried.  Let me know if I need anything else in there please. Thanks!

http://jsfiddle.net/nlindley/e2cytwky/

0 Kudos
NathanLindley
Deactivated User

Just changed square brackets on arrQrStr array back to parenthesis.

Edit fiddle - JSFiddle

0 Kudos
KenBuja
MVP Esteemed Contributor

You'll also have to add in the external resources (jsapi and css) and add in the actual URL of the service (or substitute a public one if you can't share yours).

I've made a few changes here to show how to set it up.

0 Kudos
NathanLindley
Deactivated User

Not sure if this will be visible, but in firebug neither of these received a response.  Could this be the issue?

firebug.png

0 Kudos
ScottRutzmoser2
Regular Contributor

maybe check an if it's https issue

do you have any secure content on the page

sometimes mixed content displays fine in IE and Firefox and Chrome block it with little indication of what is actually happening.

Example

When the url is https the map will not load in Firefox or Chrom (insecure content) but loads fine in IE

https://gisweb.cc.lehigh.edu/campusmap/index.html

This url without the https loads fine

http://gisweb.cc.lehigh.edu/campusmap/index.html

0 Kudos
NathanLindley
Deactivated User

There is no secure content on the page so I don't think that is the issue.

Thanks for the reply though Scott.

0 Kudos