Java Reference
In-Depth Information
❑
Virtually every different type of plug-in and ActiveX control has its own interface, for which the
control's documentation will provide the details. You looked briefl y at Apple's QuickTime control.
You also saw that while plug-ins and controls are great for extending functionality, they are
❑
subject to potential pitfalls. These include differences in the way plug-ins and ActiveX controls
are scripted, differences in operating systems, and differences between versions of the same
plug-in or control.
In Chapter 14, you change direction to cover a β€œnew” JavaScript technique that has rekindled web appli-
cation development.
Exercise Question
A suggested solution to this question can be found in Appendix A.
1.
Using the Quicktime plug-in or ActiveX control, create a page with three links, so that when
you click any of them a sound is played. Use an alert box to tell the users who do not have
QuickTime installed that they must install it when they click a link.
The page should work in IE, Firefox, Safari, Chrome, and Opera. The method to tell QuickTime
what fi le to play is SetURL().
Search WWH ::




Custom Search