Forum Discussion
Jean-Philipp768
2 years agoCommunity Member
Enlarging web objects (Branchtrack)
Hi everyone!
I've been trying to enlarge a Branchtrack web object (https://www.branchtrack.com), 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
No RepliesBe the first to reply