Adding Behaviors

Behaviors in SharePoint Designer stem from the days of FrontPage and enable you to add dynamic functions to SharePoint pages, such as changing properties on mouseover, mouseout, or onclick, swapping images, creating pop-up messages, and playing sounds on page load—all without the need to use code. In this section, I show you how to add a different hover over color to SharePoint lists, such as the announcements list.


The following example uses the out-of-the-box Announcements list. If your site does not already include an Announcement list then create one and also add a few sample entries using the default columns. Also, see Chapter 23, “Working with XSLT List View Web Parts (XLVs),” for additional information on how to ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.