Web Design

(Nancy Kaufman) #1

211


CHAPTER

Adding Interactivity and Multimedia 9


TIP


Will my JavaScript always work?
Every modern browser fully supports JavaScript. However, all browsers also provide users with the option to
disable it. Although only a very small percentage of users will ever disable JavaScript, you need to be sure
to provide a backup if your script is mission-critical; that is, if your user will be unable to effectively use
your site without it. For example, if you are using JavaScript to create drop-down menus for navigation, be
sure to provide normal text links as well.

5 Type .


The code to embed JavaScript
is added to the page.


3 Type type=”text/
javascript”>.


4 Press twice.


5


3

Free download pdf