Forum Discussion
Jean-Philipp768
2 years agoCommunity Member
Enlarging web objects
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
- Jürgen_Schoene_Community Member
try
perhaps this will solve your problem
- Jean-Philipp768Community Member
This solved everything, thank you very much!