Javascript File Include Placement

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Three65
Posts: 19
Joined: Mon Jun 01, 2020 10:55 pm

Hello,
I am trying to integrate a countdown timer that will make a hotspot available at a certain time. I am following this method that I asked about this questions in another post.

viewtopic.php?f=6&t=14702&p=61881#p61881

My question is, would it be possible to include the Javascript in a separate include file instead of putting it directly into the html file?

Right now I am trying to test it and make it work but the Javascript doesn't seem to be functioning for the countdown timer. I know some Javascript will not function\fire depending on its location in the html...ie placement in the head or body for example. It appears the Pano2vr places the included javascript files at the beginning of the body. Would this effect the script from running on the countdown timer?
Post Reply