HTML and CSS Reference
In-Depth Information
and pasting the original function and pasting it twice and then just changing the function
name.) h en, just add the OnChange attribute to the two other <select> tags. h e
second two <select> tags have names of global2 and global3 that you can add to
the JavaScript functions — notice where global1 is located in the original JavaScript.
(Don't worry if you can't do this exercise! Without knowing JavaScript, it can be tricky.)
Iframe challenge: You can put as many iframe elements in a page as you want. Suppose
you want to compare dif erent sets of objects — cars, clothes, or mobile devices. For
example, let's say that you were building a site to compare dif erent models of Fords and
Toyotas. h e Fords appear in the let iframe and the Toyotas in the right. Below each
iframe , are links that bring up dif erent types of cars — economy, sedans, hybrid, vans,
trucks, and SUVs. Each brand of automobile has links beneath it so that you can bring up
comparable ones — such as two hybrids. See if you can create such a site — using content
of your choice. (By the way, Edward Tut e, the information design authority, strongly
urges comparative information to be presented so that users can view it in the same
eyespan — what you can see in a single view.)
Both of these challenges use the materials in this chapter, and they can be applied to many
dif erent applications.
171
 
Search WWH ::




Custom Search