SunQuest
 
       DHTML
  Home arrow DHTML arrow Adding More Features to Sliders with the S...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DHTML

Adding More Features to Sliders with the Scriptaculous Framework
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2007-05-01

    Table of Contents:
  • Adding More Features to Sliders with the Scriptaculous Framework
  • Coding an improved horizontal slider
  • Building a slider with predefined offset values
  • Improving the functionality of basic sliders

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Adding More Features to Sliders with the Scriptaculous Framework


    (Page 1 of 4 )

    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.

    Introduction

    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!

    More DHTML Articles
    More By Alejandro Gervasio


       · In this article of the series, the original DHTML-based sliders built previouly, are...
     

    DHTML ARTICLES

    - 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...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway