Enlarging web objects
Jan 20, 2023
Hi everyone!
I've been trying to enlarge a Branchtrack web object, and I'm struggling to enlarge this web object that has been embedded in Storyline.
Here's the code I'm using right now:
var Branchtrack = document.getElementById("btproject-4rue7lsm");
Branchtrack.style.cssText = "transform: scale(1.75);"
"btproject-4rue7lsm" refers to the web object id for my Branchtrack scenario. I'm executing this script as soon as the timeline starts on the layer. I've also created a text variable name "Branchtrack".
Am I missing something? I am in no way an expert in javascript, I actually used chat.gpt to generate some of it, it has been very useful!
Cheers
2 Replies
This post was removed by the author
try
https://community.articulate.com/discussions/articulate-storyline/web-page-responsiveness-as-a-web-object
perhaps this will solve your problem
This solved everything, thank you very much!