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

Replace or hide element when clicking on another?

$
0
0

I admit, I know nothing when it comes to jquery or coding.  Hence why Adobe's Edge Animate is so helpful to me.

 

So the problem I'm having is:

 

I'm creating a calendar.  When one date is clicked there is an animation and then a message is displayed.  But if I click on a different date, the previous message is not being removed, hidden, changed.  I'm sure this is something that is most likely basic but as I said, I know nothing about coding.

 

I have Day 1, Day 2, Day 3, Day 4.

 

When someone clicks on Day 1, the animation of a door opening plays, then after the door opens, a window pops open at the top to reveal a message.

 

The goal is,

 

When someone clicks on Day 2 or Day 3, an animation of a new door opens and the previous message is replaced with the new message.

 

I have the animations working fine.  It is just the "replacing" of the message that I'm having trouble with.  It just stays there and the new message is hidden underneath.

 

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>