Hello Owen
Thank you for the response.
We are working within the Map Journal template and we are interested in adding a splash page similar to what ESRI has in the web app builder. This is important because we are developing web apps and in this case creating a story map for classified data and we would like to have an initial page so we can call attention to the level of classification for the data within the story map, before the story map data is seen.
From my research on this topic, I was thinking I could create a Modal box within the Map Journal's index.html file...can you confirm that this approach would/could work
The code would be something like this...
require(["dojo/topic", "dijit/Dialog", "dojo/domRedy!"], function(topic, Dialog) {
myDialog = new Dialog ({
title: "My Dialog",
content: "Text Content",
style: "width: 360px"
console.log("My Dialog is initializing");
Or should this code go else where in the indx.html file? I saw this eample here: https://community.esri.com/thread/178244
topic.subscribe("tpl-ready", function(){
/*
* Custom Javascript to be executed when the application is ready goes here
*/
console.log("Map Journal is ready");
});