AnsweredAssumed Answered

Splash for Story Map Series using html code?

Question asked by brandon.price on May 10, 2017

I found this code in another discussion to create a splash in a story map. My map is
a story map series. Would this still work? Would this go in the index html? If so,
is it necessary that it's placed before anything so it comes up first?#

(["dojo/topic","dijit/Dialog"], function(topic, Dialog) {

  * Custom Javascript to be executed while the application is initializing goes here

  // The application is ready
  topic.subscribe("tpl-ready", function(){

    * Custom Javascript to be executed when the application is ready goes here

    var splashPage = new Dialog ({
      title: 'Splash Page',
      content: '<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quisquam vel in rem rerum saepe quidem est, ratione molestias a harum!</p><br /><img src="" alt="Photo of parks" />',
      style: 'width: 430px; height: 436px;'