Home arrow DHTML arrow Adding More Features to Sliders with the Scriptaculous Framework

Adding More Features to Sliders with the Scriptaculous Framework

As you probably know, the Scriptaculous animation framework comes equipped with a module for building DHTML-based sliders. If you want to learn how to include these controls in your own web pages, start reading this article now! Welcome to the final part of the series that began with "Using sliders with the Scriptaculous framework." Comprised of two tutorials, this series gets you started quickly using these powerful DHTML controls, and shows you how to incorporate them into your existing web-based graphical interfaces.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 16
May 01, 2007
  1. · Adding More Features to Sliders with the Scriptaculous Framework
  2. · Coding an improved horizontal slider
  3. · Building a slider with predefined offset values
  4. · Improving the functionality of basic sliders

print this article

Adding More Features to Sliders with the Scriptaculous Framework
(Page 1 of 4 )


As you'll certainly recall, in the previous article of this series, I discussed in detail the key points of how to create basic sliders using the Scriptaculous library. It's definitely a process that can be performed with minor hassles, since it's reduced to working with the handy "Control.Slider" object (logically bundled with the software), in addition to playing with a certain number of incoming parameters accepted by the object in question.

By following the aforementioned approach, it was possible to build vertical and horizontal sliders that were highly customizable, since their look and feel were controlled by two primary DIVs. Besides, the set of incoming arguments taken by these sliders allowed us to easily configure their behavior, ranging from their corresponding alignments to more specific features, such as displaying offset values.

As you saw, creating basic sliders with the Scriptaculous animation package is indeed a straightforward task that can be carried out with minimal requirements. However, there are still more features that need to be covered, specifically concerning the creation of these powerful DHTML controls. Their functionality can be easily expanded by specifying only a few additional parameters.

Thus, assuming that you're really interested in learning how to quickly improve these handy sliders, in this final article of the series I'm going to show you how to incorporate some additional features into the DHTML controls. These features will provide them with the capacity to move their handles at predefined intervals, and to display basic progress bars when the sliders are being moved.    

All right, having established the subject of this tutorial, let's continue exploring the numerous capabilities that come bundled with Scriptaculous' DHTML sliders. Let's get started!

blog comments powered by Disqus

- Text-Justify, Volume, and Other Style Sheet ...
- Ruby-Position, Size, and Other Style Sheet P...
- Padding, Pages, and More Style Sheet Propert...
- Marks, Orphans, and More Style Sheet Propert...
- Layouts, Margins, and Other Style Sheet Prop...
- Floats, Fonts, and Other Style Sheet Propert...
- Color, Filters, and Other Style Sheet Proper...
- Borders and More with Style Sheets
- Learning Style Sheet Properties
- Style Sheet Property Reference
- Completing a Noisy Image Application
- An Object-Based Approach to Building Noisy I...
- A Basic Method for Building Noisy Images
- Adding More Features to Sliders with the Scr...
- Using Sliders with the Scriptaculous Framewo...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials