Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Object move question

$
0
0

Hi.

I think the whole day on this thing: In this example http://www.stanko-b.com/heelbopps/ (project https://www.dropbox.com/s/dr41wme9uqnm0a9/heelbopps4.zip) when you press the "down" button, the screen scrolls down to a particular object.

Сode assigned to the button "down" is:

var element = sym.$("object1");

$('html,body').animate({scrollTop: element.offset().top}, "slow");

 

My question. How to make itself the "down" button to move to the  "object1"?

In other words, what would I need one object, wherever it was (on click), moved to other objects on the Y axis?

 

Thank you.


Viewing all articles
Browse latest Browse all 9897

Trending Articles