Create a Sliding Tabbed Panel with jQuery and Dreamweaver

with Chris Converse
please wait ...
Create a Sliding Tabbed Panel with jQuery and Dreamweaver
Video duration: 0s 1h 6m Intermediate


A tabbed panel interface is a classic feature to incorporate in your website design, but they're usually static elements. This course shows how to build a dynamic sliding tabbed panel from scratch using a combination of HTML, CSS, jQuery, and the tools in Dreamweaver. Author Chris Converse leads you through the process from start to finish, from building the containers to styling the text, tab, and panels, and adding click events to make the tabs interactive. He also shows how to incorporate progressive enhancement techniques, so visitors who don't have JavaScript, for example, can still access the content.

Topics include:
  • Creating the main panel and tab containers
  • Adding content to the containers
  • Adding CSS styles to the text and tabs
  • Adding the jQuery $(document).ready() function
  • Assigning click events to the tabs
  • Setting an autostart on page load
  • Creating custom graphics for the panels
  • Assigning custom classes to the HTML elements
  • Reassigning CSS rules with JavaScript
Developer Web
Dreamweaver jQuery

Previewing the final project

- [Voiceover] Hi, I'm Chris Converse, and in this course, we're going to be building a sliding tab panel for your website. I want to start by showing the final project. We're going to be creating this tab panel here, where when I click on individual tabs, the content inside is going to swipe back and forth to animate to the content that corresponds to the tab. We're also going to set it up so that you can start on a particular tab. So if I come up here and hit reload, we're going to actually start this on the second tab, and we'll show you how to set this to any one of the tabs. We're also going to build a styled version of this as well.

So if you'd just like to stop at this point in the course with the generic style to apply your own design to, you can, or you can come in here, and we can create more customized designs. So in this case, we have custom background graphics, and custom type styles, and layouts inside each individual tab panel. Now there is one more aspect we're going to be building into this course. We're going to be taking a look at applying progressive enhancement techniques. So if somebody were to visit this tab panel without having javascript enabled, this is what the user would see.

They would see all of the content from the panels stacked up, they would still see the CSS in place, but again, they wouldn't have that sort of tabbed panel or enhanced user experience. And then of course if somebody didn't have javascript or CSS, they would see a nicely laid out page like this. And at the end of the course, we're going to talk about some of those progressive enhancement techniques and how we can apply some of those to earlier courses I have in the online training library. So I hope this course sounds interesting to you, and if so, let's get started.

please wait ...