Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 7. Links and Navigation > Changing Styles on Anchored Links

7.22. Changing Styles on Anchored Links

7.22.1. Problem

You want to change the style of elements within a web page when a user clicks on a link.

7.22.2. Solution

First, set up the markup with normal anchored links within the document. For this Solution, the anchored links (technically referred to as fragment identifiers) are placed within an image map:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial