To make both columns sortable, select proptype and choose the Sort Column When Header Is
Clicked option. Repeat the operation for desc.
The next step establishes CSS classes for the data row in various positions and states.
11. From the Odd Row Class list, choose oddRow; from the Hover Class list, choose rowHover; and
from the Select Class list, choose rowSelect. Leave the Even Row Class list blank.
12. Choose the Update Detail Regions When Row is Clicked option. Click OK when you??™re done.
13. When Dreamweaver asks if you??™d like to include a Spry Region, click Yes.
14. Choose File ??? Save to store the document.
continued
Enhancing Your Site with Spry Widgets
Spry is not limited to data manipulation. Another Spry implementation, called widgets, combines HTML,
JavaScript, and CSS to produce advanced interactive layouts and form controls. Spry layout widgets bring
sophisticated design options??”such as pure CSS menus and tabbed panels??”to the Web professional??™s
palette, while Spry form widgets solve one of the Web??™s most persistent problems, form validation,
brilliantly.
All Spry widgets share certain common characteristics. First, they are extremely easy to implement: typically,
only a dragged-and-dropped object is required. Second, all widgets rely on a customized Property
inspector to make Design view modifications a snap.
Pages:
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101