GVH 2.8 - add animated "loading" gif (spinning circle, whatever) to splash screen along with logo
Some of our GVH sites take some time to load and all users see is the logo splash screen logo - they are frustrated they don't now if program has crashed. I can load an animated 'loading' gif on the splash screen but I'd like to load both the our logo and an animated 'loading' gif. You can see an example of what I'd like to do at http://www.muskegoncountygis.com/PropertyViewer/ ...any suggestions how to do this?
Thanks,
James
0
-
Hi James,
Looking at the dev tools when I load that site, it looks like they just added another image tag to their index.html file:<!-- Splash Screen Markup --> <div class="splash-overlay"> <div class="splash-plate"> <img class="splash-image" alt="" /> <img src="Resources/Images/mcgis/splash-logo.gif" alt="loading..." style="display: block; margin: auto; padding: 1em 0 1em 0;"> <p class="splash-paragraph">This application uses licensed Geocortex Essentials technology for the Esri<sup>®</sup> ArcGIS platform. All rights reserved.</p> </div> </div>The interesting part is here:
<img src="Resources/Images/mcgis/splash-logo.gif" alt="loading..." style="display: block; margin: auto; padding: 1em 0 1em 0;">
So you will want to add your Gif to the viewer Resources folder (in your wwwroot folder), and reference it in an img tag.
I hope that helps!
Thanks,
Danny0 -
Great - thanks Danny!
James0 -
Just clarifying...
This thread https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=90660000000PDw6AAG
suggests that adding an animated gif is not reccommended. Is this old news now? Thanks.0 -
I think it depends on the animation. If it is a larger file with a complicated animation, it may not load and play smoothly. We use a very simple animation and it works fine. It doesn't show progress, but does let the user know something is happening. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare