We have a project with multiple pages that we’ve developed in Edge Animate. The site is nearly complete and will go live tomorrow. You can see it as it is now at www.edgewaterharbornj.com/dforum. I have also created a simple version with just the 2 pages we have trouble with, and posted it in my Dropbox. You can download the native files here:
We have a problem with one of our links between two of the pages.
1) When the user can clicks on the area under the logo on the home page, he should go to the 4th picture (restaurant at night), with the 4th button activated. Instead, they sometimes go to the 1st picture (river in the sun), with the 4th button activated. This sometimes works and sometime fails, especially in Firefox.
2)They can also click on the LIFESTYLE button in the top nav, which takes them to the 1st picture (river in the sun) with the 1st button activated, which always works.
We’re using a hash link and an “if” statement to differentiate between clicking the LIFESTYLE button in the top nav and clicking the area under the logo on the home page.
Our hash link out of page 1:
Our if statement (in Stage/creationComplete) in page 2 that manages scrolling a group of images:
We have another if statement in page 2 Stage/compositionReady to manage the button states:
I hope all this makes sense!
Replying to my own question here:
It turned out I just needed to wrap a $(document).ready around the if statements, like below.
Works like a charm, every time!
Thank you for sharing your solution with us.