Any way to reference objects (ie: images) in Javascript?

Nov 27, 2017

Hey guys,

I think I just read every tangentially-related post on this subject for the last five years... I did find someone asking the same question from two years ago, and I know it wasn't possible then, but I was wondering if anyone knows whether the situation has changed?

I'm trying to control the size of an image in a way that Storyline triggers and variables don't support, but JS can.... if only I could reference my image!!

Thanks

(Let me save Staff the trouble: yes, I'm aware that staff don't officially support Javascript, and yes I've read the articles about Javascript on this website ; ) )

7 Replies
OWEN HOLT

While these do not address your specific issue, you might find some inspiration from the following posts that all use the browser's developer window to identify SL elements and then make changes. Once I load StoryLine again, I'll try to find a direct solution for you but this might be enough to get you started.

Link 1: Changing CSS on the fly

Link 2 : Adding a Logo & a Print Button

This discussion is closed. You can start a new discussion or contact Articulate Support.