<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Need to add in a splash screen before loading JS Application in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38552#M3269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon.&amp;nbsp; Does anyone have any examples of any splash screen put together that loads first, then when you click OK the javascript application loads?&amp;nbsp; I have something put in place, but I have a flashing effect when the application loads that shows the text in the upper left corner before the entire application opens.&amp;nbsp; Here is an example:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 20:16:12 GMT</pubDate>
    <dc:creator>IanPeebles</dc:creator>
    <dc:date>2015-10-02T20:16:12Z</dc:date>
    <item>
      <title>Need to add in a splash screen before loading JS Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38552#M3269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon.&amp;nbsp; Does anyone have any examples of any splash screen put together that loads first, then when you click OK the javascript application loads?&amp;nbsp; I have something put in place, but I have a flashing effect when the application loads that shows the text in the upper left corner before the entire application opens.&amp;nbsp; Here is an example:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:16:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38552#M3269</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2015-10-02T20:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add in a splash screen before loading JS Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38553#M3270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try and build it programmatic, like in the first example here: &lt;A href="http://dojotoolkit.org/reference-guide/1.10/dijit/Dialog.html" title="http://dojotoolkit.org/reference-guide/1.10/dijit/Dialog.html"&gt;dijit/Dialog — The Dojo Toolkit - Reference Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then in your map.on("load"....&amp;nbsp; you use the &lt;SPAN class="s" style="color: #b9ca4a;"&gt;myDialog.show() ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:24:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38553#M3270</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-10-02T20:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add in a splash screen before loading JS Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38554#M3271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also make the CSS for the overall container of the map and associated divs default to "display:none" and then change the CSS display property via JS if they "accept" the splash screen notice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:29:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38554#M3271</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-10-02T20:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add in a splash screen before loading JS Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38555#M3272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems like an interesting idea, but do you have an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:43:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38555#M3272</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2015-10-02T20:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add in a splash screen before loading JS Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38556#M3273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get around the "resolving" issue, I have a div set up to cover everything in white&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;div id="outerDIV"&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#outerDIV {
&amp;nbsp;&amp;nbsp;&amp;nbsp; position: absolute;
&amp;nbsp;&amp;nbsp;&amp;nbsp; left: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; top: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: white;
&amp;nbsp;&amp;nbsp;&amp;nbsp; z-index: 1000;
}
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And using "&lt;A href="http://dojotoolkit.org/reference-guide/1.10/dojo/ready.html" rel="nofollow noopener noreferrer" target="_blank"&gt;dojo/ready&lt;/A&gt;", set the display on that div to none when everything is set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ready(function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //this hides the div created to mask the site until it's ready
&amp;nbsp;&amp;nbsp;&amp;nbsp; domStyle.set(dom.byId("outerDIV"), "display", "none");&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of that (and using a dialog) is &lt;A href="http://maps.coastalscience.noaa.gov/wasp/wasp.html" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38556#M3273</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-10T21:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add in a splash screen before loading JS Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38557#M3274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd just use the example that &lt;A href="https://community.esri.com/migrated-users/3856"&gt;Ken Buja&lt;/A&gt;​​ just posted. Just use his dojo/ready function code inside the click event of your "Yes- I agree" button on your splash screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38557#M3274</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-10-02T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add in a splash screen before loading JS Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38558#M3275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's another method you can use: &lt;A href="https://community.esri.com/message/439834"&gt;Re: Correct Loading procedures with a splash screen?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-add-in-a-splash-screen-before-loading-js/m-p/38558#M3275</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-10-02T20:49:50Z</dc:date>
    </item>
  </channel>
</rss>

