JavaScript
  Home arrow JavaScript arrow Building a Slide Show with jQuery
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  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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? 
JAVASCRIPT

Building a Slide Show with jQuery
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2009-10-08

    Table of Contents:
  • Building a Slide Show with jQuery
  • Start building an Ajax-based slide show
  • Fetching images from the web server with Ajax
  • Listing the slide show's full source code

  • 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


    Building a Slide Show with jQuery


    (Page 1 of 4 )

    In this first tutorial in a two-part series, I will explain how to build a basic slide show by using the Ajax module included with the increasingly popular jQuery JavaScript framework. As you'll see, the use of the handy “$.ajax()” method makes this process very simple.

    Introduction

    In the last few months, a brand new JavaScript framework has become increasingly popular for building client-side applications. I'm talking about jQuery, a library that permits you to develop full-featured JavaScript programs by way of a friendly - yet powerful -- programming interface.

    Indeed, jQuery comes packaged with an impressive set of methods that allow you to build a huge variety of applications with minor hassles, ranging from typical data validation routines and DOM manipulation to Ajax-driven programs.

    As you can see, there's plenty of room here to experiment with this library's API. In this series of two articles, I'll be explaining how to use its Ajax module to develop a simple slide show, similar to the ones that you've seem previously when surfing the web.

    In this particular case, the behavior of the slide show that I plan to build in the next few lines is pretty basic. It will work in the following way: first, I'm going to create some sample images that will be stored on a directory in the web server, and then I'll use the Ajax module of jQuery to display these images in a predefined sequence.

    Of course, this Ajax-driven application can be used for purposes other than building a slide show. For instance, you might want to utilize it to display a sequence of commercial banners on your own web site, or other kinds of images. In either case, I'm sure that once you've grasped how to use the Ajax module of the jQuery library, you'll get a bunch of ideas for how to use it!

    Now, it's time to start developing this Ajax-based slide show with jQuery. Let's jump in!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This short series shows how to develo an AJAX-based slide show with jQuery in a few...
     

    JAVASCRIPT ARTICLES

    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...
    - The GX JS Animation Framework
    - Debug Ajax-Generated Tags in Firefox
    - Building a Page Controller with the jQuery Q...
    - Paginating Database Records with the jQuery ...
    - Paginating Images with the jQuery Quick Pagi...
    - Hiding the Page Counter with the jQuery Quic...
    - Introducing the Quick Pagination jQuery Plug...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek