Assignment 3.5: Interactive XML

I managed to add the ability for the mouse to interact with the boxes, by changing their color, but it still isn’t tied to their location. The left click turns the boxes white while the right click turns them into a dark grey. I tried to add a function that made it detect where the mouse was, and it did, so that if it was pressing the range it would only change that box. That only worked on a single point and didn’t even change the box it was on. If anyone has any suggestions or advice as to what might be wrong with it in terms of selecting a box that would be helpful.

This slideshow requires JavaScript.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s