Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
To assist your Spry development, Adobe has an extensive series of tutorials, samples and documentation on the Spry homepage. As a starting point or as a reference, these files offer a wealth of information about working with Spry. So here we are on the Spry homepage and the first thing we want to do is browse to some documentation and so in the menu here on the left-hand side, I'll click on the Documentation link and that's going to take us to our Spry Documentation. Notice that we also have a series of LiveDocs and LiveDocs are really cool because it's sort of a wiki-type environment where somebody could enter in, 'Hey, this doesn't work' or 'Have you tried this?' and so there's really topical, current information there. You want to try that.
So as the content animates, what it's really doing is just moving behind the View pane. and the viewport is displaying the active area so we just navigate from one region to another region. Ah, pretty simple, right? Now if you scroll down, you can see that they show the most basic structure and this was what, when we build our own Spry widget, we'll build first, the basic structure of it. So we've got the styles that drives the main part of the Sliding Ppanel and then we have this DIV structure, which is really what I want to pay attention to first. So notice that our Sliding Panels are nothing more than DIV tags, and that's pretty much everything within the Spry framework.
Just DIV tags or other elements that have specific IDs that we can drive. So we'll have one DIV tag that is our SlidingPanels class tag. Then we'll have another one which is the SlidingPanelsContentGroup and inside that we'll have the individual content panels themselves. And you can have as many of those as you need. If you need a little bit more of a visual sample- I'm going to scroll back up here and we're going to hit the Back button, and the Back button again- and if you're looking for a little bit more of a visual sample, you can go to the Spry homepage and click on Samples.
Now from Samples, we have samples for working with Spry data, working with the Spry utilities, element selector, server side utilities. So there's a lot to Spry that you might not be aware of. And finally we're going to take a look here at widgets. So I'm going to click on Widgets. And again we can see examples of all these widgets. We'll scroll down until we find our Sliding Panels and I'm going to click on the Sliding Panels examples. And here we have a lot of different examples. The first example is Vertical Sliding, which by the way is the default animation for Sliding Panels.
We have Horizontal Sliding, which is what we're going to be doing. And then we have several versions thereof, for example sliding in both dimensions, where you're doing horizontal and vertical scaling, which is really kind of neat. We have Keyboard Navigation samples. We have samples of turning off the animation and even fine-tuning the panel animation, something that we will do as we build our own widget. And you can also specify the default panel. So there's a lot of options here as well.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 105465 Viewers
56 Video lessons · 117145 Viewers
71 Video lessons · 86370 Viewers
131 Video lessons · 41282 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.