Sorry, to chime in. This code block is incorrect so won't change anything. Understand that you are new. Here is the way to layout what you want.
var rectangleA = hypeDocument.getElementById("Rectangle_A");
var rectangleB = hypeDocument.getElementById("Rectangle_B");
rectangleA.style.color="#69619C";
rectangleB.style.color="#94515F";
I tried to apply the code here but ended up interfering with the remaining code and blocked all actions. I’m not a programmer and I’m learning a lot from you. Really I have many doubts and but I confess that I could not even understand the basics. For example, I could not understand the connection between the parts of the code. I commit to study better the code and try to understand how Mark did. I thank you all for help.
I want to thank you because you already helped me a lot. Much more than you think. These details, I want to implement the project, I will try to implement. I will also make the course the link you passed.
I finished the project you were helping me and thank the code you did. I’m already getting better understand and even made a change to another scene and worked properly.
I’ll send you the final aquiivo to send you as it became. I want to know if you could help me make the top bar stay the same color of the active group. I tried to do here but I did know not make it. interatividade-Animais-final v3.zip (2.1 MB)
Can you help me?
Both large selection images are both on scene two with opacity set to 0.
All Humanos and Mao image have a class list of “Humanos selectonElement” and “Moa selectonElement”
The Humanos actually has “Moa selectonElement” and the Moa has “Humanos selectonElement” for the very large ones on scene 2.
Al the other Humanos and Mao have their own name as expected.
The reason for this switching around the classes for the large images is because when you click either the small images or the images on scene one we can simply iterate over all the elements with either Humanos or Mao and hide or show them. So the large images on scene two need to be in reverse of the show or hide of the small images and scene 1 images.
Slight update forgot to setup the Animals Scale vs Hand and Animals Scale vs human text.
These now work the same as the Large images with the reverse class name.
Really I want to learn javascript. You make it sound so easy! Thank you very much. However, the second scene has different animals from the scene 1. This is the reason for another scene. Do you think I get apply the code, bar color, in the version I sent you before?
Most of my stuff I do for personal or for work so cannot really show you.
I have a lot of posts here though that have examples of things I have helped with like your problem which is one of the main reasons I am here… to help and expand my thinking…
Hello Mark, how are you? Finally the book is ready for publication at the Apple Ibooks Store. We delayed because we were not able to finalize the registration for interactive sales with Apple. Our editor is Brazilian.
Now, when everything was finally going well, the file gave an ITMS-9000 ERROR. I’ll attach the image here. If you can guide me I do not know how to correct.