
click to enlarge
The first edit to make to the panels is to change from the default tab names to something meaningful. For example, typical menu choices on a commercial home page include items such as “Home,” “Contact Us,” “About Us,” and “News.” Additional tabs and panels may be added, but for now, just change the Tab 1 and Tab 2labels to “Home” and “Contact Us.” Do this by clicking on the tab itself and typing the new names.
Next, make some changes to the properties of the tabs by clicking on “Window,” “CSS” and expanding the “SpryTabbedPanels.css” section. In the “.TabbedPanelsTab” change the font-weight to bold to make the letters stand out more. Change the background color of the “.TabbedPanelsTabSelected” to a different color so it is clear to the user which panel is active. Customize the background color of the content tab by selecting “.TabbedPanelsContentGroup” in the CSS style section. When you edit these features, pay attention to how the text appears.
Customize other parts of the tabs and content by experimenting with the rest of the SpryTabbedPanels CSS styles. This can become a bit cumbersome since border changes must be made individually on the top, bottom, left and right. In addition, never lose sight of the principles of good Web design by overcomplicating the customization. Change panels from horizontal to vertical by editing another style in the Spry css file.