I cannot select a scrolling panel as an object for a trigger. I'm trying to have a scrolling panel move when a button is clicked. And return to its previous position when it loses focus.
I'd like to do so via motion paths or JavaScript for UX purposes. I know it can be done with an entrance animation and the use of a show layer trigger, but that solution lacks the return animation.
I have experience with JavaScript and can accomplish the animation with code but do not know how to target the object directly (ie. by name).
The scrolling panel is not an object that can be accessed via trigger, so if you're about to set something up with Javascript you may want to investigate those options.
3 Replies
Hi Adam,
The scrolling panel is not an object that can be accessed via trigger, so if you're about to set something up with Javascript you may want to investigate those options.
Sounds like javascript will be the solution, is there a way to target the object?
example
var scrollPanel = document.getElementById("scrollingMenu");
or
var scrollPanel = document.getElementsByName("scrollingMenu");
or maybe via jQuery? Where the scrolling panel is "element"?
$("element");
I'm not equipped to assist with Javascript, so I'll defer to the community on ways to work with Javascript and the scrolling panel.
This discussion is closed. You can start a new discussion or contact Articulate Support.