• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Creating head actions

Head actions are special premade scripts inserted into the header of a Web page. Some run automatically just before or after the viewer opens the page in a Web browser. Others are “on call” and run only in response to something the viewer has done—for example, clicking a link or image. You'll insert several head actions into the page for this lesson. The first three actions are among the most common Web designers find necessary to implement in a site.

Creating a browser switch action

Visitors using older Web browsers may not see a Web page correctly if it contains features and technology such as JavaScript, frames, and floating boxes. It's important to provide a way for those viewers to see an alternative page when they view your Web site. You can also use a browser-switch script to direct visitors using Netscape and Internet Explorer browsers to separate pages if your page contains elements that are not supported equally by both browsers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint