Are you able to make other content active or visible upon selecting another item, similar to that of the apple iphone webpage – when you select the iphone 4 colour the model version becomes fully visible and active.
Apple iPhone Page
How would you go about making this work in jquery?
You can bind a
clickevent handler to an element, and do whatever you like in there:You can see above that I’ve used the the
styleproperty, which can be used to change the CSS properties of the element (in this case, I’m changing thedisplayproperty toblock– if it washiddenbefore then this would makeanotherElembecome visible).To do that in jQuery: