Page 1 of 1

change image in page A by clicking a button in page B ?

Posted: Sat Dec 20, 2014 4:46 pm
by AC

I placed an image-1 in page A (main menu) and made it as a button. After click image-1, it navigates user to page B and do some actions. I want to change image-1 to image-2 once user finished action in page B when they go back to page A. So they can know they already visited page B.

I read some articles and I see many solutions can only fix this issues when they are all in the same page.

Please help me out.


change image in page A by clicking a button in page B ?

Posted: Sat Dec 20, 2014 6:12 pm
by AC

Can someone help me here?


change image in page A by clicking a button in page B ?

Posted: Sun Dec 21, 2014 7:28 am
by Illya Stepanov

Hi -

In general this needs a custom JavaScript code, and you are in right direction: https://getsatisfaction.com/apperyio/...


change image in page A by clicking a button in page B ?

Posted: Sun Dec 21, 2014 9:20 am
by avf

You need to use session or local storage. On page B you will be able to use the editor to save the local storage variable value, but on page A you'd need a custom js "if" statement.


change image in page A by clicking a button in page B ?

Posted: Sun Dec 21, 2014 5:55 pm
by AC

Problem solved, need to clear storage before load