Forum Discussion
story.html changes on new publishings?
Hello Juliano,
Happy to help!
When you publish a Storyline 360 project file, it will automatically create a new story.html file which will overwrite the existing one. One way to reduce the work of recreating the tags and Javascript in the story.html file is to place all of your Javascript in one .js file and then including this file to the newly created published output by adding something like this in story.html:
<script src="html5/data/js/nameofyourscript.js"></script>
Don't forget to include the folder 'html5/data/js' for your Javascript code to work.
I'm not well-versed in Javascript so there might be better ways to include your code in the published output without have to recreate everything from scratch. I'll let other members of the community chime so they can share suggestions that might help you with your design requirement!