JavaScript
  Home arrow JavaScript arrow Finishing a Slide Show Application with jQ...
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

Finishing a Slide Show Application with jQuery
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-10-16

    Table of Contents:
  • Finishing a Slide Show Application with jQuery
  • Listing the slide show application’s partial source code
  • Incorporating a JavaScript timer
  • Listing the application’s complete 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


    Finishing a Slide Show Application with jQuery


    (Page 1 of 4 )

    In the preceding article of this series, I demonstrated how to take advantage of the jQuery JavaScript library's functionality to develop a simple slide show, which used the Ajax module bundled with jQuery as its driving engine. In this part, we'll finish the application.

    Indeed, building a web application like the one mentioned above is a pretty straightforward process that only requires familiarity with the core features that come packaged with the jQuery framework. This includes its “onready()” and “$.ajax()” methods. It’s really that simple, believe me.

    Also, as you’ll probably recall, I left off the last tutorial explaining how to use the aforementioned “$.ajax()” method to create an Ajax-driven application. This application was tasked with fetching a bunch of images from the web server, and then displaying them on the browser using a predefined sequence.

    Obviously, performing this process by way of a JavaScript requester object implies, not surprisingly, that successive requests must be triggered in the web server to display different images. After all, this is the expected behavior of a slide show, right?

    Well, although the web application that I created in the previous article was capable of fetching via Ajax a different image from the server, the truth is that it could not retrieve all of the graphics in subsequent requests. Naturally, this issue should be fixed in a pretty painless way, so in this concluding part of the series, I’ll be explaining how to incorporate this crucial feature into the slide show with a JavaScript timer.

    Hopefully, when you finish reading this article, you’ll have at your disposal the full source code of a functional slide show, and of course, you’ll be able to use it with your own web sites.

    Now, let’s move on and tackle this final chapter of the series. The clock is already ticking!

    More JavaScript Articles
    More By Alejandro Gervasio


       · Over this last chapter of the series, the development of the previous jQuery-based...
       · I think the start of the jQuery shoud not include the getImage() function within the...
       · Nice contribution, but you can’t be sure that always an image will take less than 3...
     

    JAVASCRIPT ARTICLES

    - Comparing Fields and Customizing Error Messa...
    - Checking Numbers and File Extensions with jQ...
    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in







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