Forum Discussion
Disable javascript warning popup
Hi,
Is it possible to disable the "Javascript support is not available while previewing." popup?
I know its not available and it messes up the first couple of seconds of animation in my preview!
Thanks
Hi Luke,
Unfortunately there is no way to remove that pop up - as it's built into the preview functionality (similar to reminders about web objects that won't function in preview). If you need to preview your animations, you may want to preview the individual slides using the play button on the timeline or look into publishing it for web and placing it a testing platform like Tempshare.
- SteveFlowersCommunity Member
Hey Luke,
One way to do this would be to add a condition to your JavaScript trigger and create a variable to drive it.
Execute JavaScript when timeline starts IF finalPublish=true.
Create a variable called finalPublish and set it to false. When you're ready to publish as final, just go into the variable manager and change this to true and all of your JS triggers will run.
Nice solution Steve!
- PhilMayorSuper Hero
Steve Flowers said:
Hey Luke,
One way to do this would be to add a condition to your JavaScript trigger and create a variable to drive it.
Execute JavaScript when timeline starts IF finalPublish=true.
Create a variable called finalPublish and set it to false. When you're ready to publish as final, just go into the variable manager and change this to true and all of your JS triggers will run.
I love that - LukeBurrowsCommunity Member
Thanks for a solution to this Steve
- BobbiBaileyCommunity Member
Steve,
I just have to say, you are very rapidly becoming my most favored hero. :-)
This is absolutely perfect!
Thanks,
Bobbi
- MateuszSzuterCommunity Member
Hello,
nice that Steve shared with some workaround, but can we please ask for adding an simple option in preferences in future releases? Something like "don't show javascript support in preview". Javascripts are used by more experienced people, and probably on many slides, so they already know that doesn't work in preview and probably are a bit frustrated that they must see that popup many times during the preview. And I think we can agree that's not some big issue to change :)
Thanks for sharing your thoughts Mateusz.
I've submitted a feature request on your behalf.
- GaryWeinfurtherCommunity Member
I also request this feature. The warning is annoying when I see it on every preview if I insert Javascript in a master layout.
Thank you for sharing your perspective, Gary.
I have submitted a feature request on your behalf.