Hub Home Page Bounce

773
4
04-13-2018 03:18 PM
Mark_Hébert
New Contributor III

http://cg-hubdev-cggis.opendata.arcgis.com/

 

Graham, something I can’t workout with Chrome.

 

The above url loads to top of page in MS Explorer. In Chrome the page always loads to the iframe, 2/3 down the page. It does this in both http and https. Could it be the way the iframes load as the page populates?

 

Please advise.

Tags (3)
0 Kudos
4 Replies
by Anonymous User
Not applicable

Let me look into it. My initiation thought is it has something to do with how that application was written. If the application loads and then tells the browser to scroll to its "top" then that could cause something like this. 

Will follow-up hopefully later today

0 Kudos
by Anonymous User
Not applicable

Okay we took a look. It seems that certain browsers handle `focus` in different ways and this is a known thing about Chrome. Something in that application is changing focus and it works differently from browser to browser (safari also has the same issue as chrome). 

Best I can suggest is to link out to your application instead of embedding it. Maybe make a button that opens this application in a new browser window? I think this app has enough features that this might give a more clean experience but I understand the downside that you don't get the metrics on your home page. If you have the data in ArcGIS, one suggestion would be to use the Summary Statistic card for the key measures then link out to the app for the more thorough/interactive exploration.

Sorry I don't have a better answer for you!

PS you could try to ask the makers of that app to fix it (or give you an "embed mode" of the dashboard/app)

0 Kudos
Mark_Hébert
New Contributor III

Thanks, Graham.

Yeah, one of our staff discovered there is an HTML5 autofocus in the two IoT browser links we’ve put in the iframes. We’re discussing options.

Is ESRI open to adding instructions to the hub design to load the page to the top? Please advise. Thanks.

<http://www.coralgables.com/>

Mark Hébert

Customer Support and GIS Manager

Office: 305-461-6733 | Cell: 305-733-0312 | Fax: 305-441-575<tel:3054415752>2

Email: mhebert@coralgables.com<mailto:mhebert@coralgables.com>

305-569-CGIT<tel:3055692448> (2448) | CGIT@coralgables.com<mailto:CGIT@coralgables.com>

ITIL® Certified Professional

<http://www.coralgables.com/cityapp> Get the app<http://www.coralgables.com/cityapp> <http://www.facebook.com/cityofcoralgables> Be our friend<http://www.facebook.com/cityofcoralgables>

P Think Green! Please do not print this e-mail unless it is completely necessary.

0 Kudos
by Anonymous User
Not applicable

I don't think we can blanket implement a change like that because we support anchor links. I wouldn't want to break someone's existing anchor link and then, via javascript, bounce people to the top. 

0 Kudos