JavaScript
  Home arrow JavaScript arrow Using Multiple Containers to Build Pop Up ...
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

Using Multiple Containers to Build Pop Up DIVs with the DOM and AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2007-02-07

    Table of Contents:
  • Using Multiple Containers to Build Pop Up DIVs with the DOM and AJAX
  • Going backwards: the original pop-up generating script
  • Working with multiple pop-up DIVs
  • Listing the improved version of the pop-up generating application

  • 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


    Using Multiple Containers to Build Pop Up DIVs with the DOM and AJAX


    (Page 1 of 4 )

    If you're a web developer who wants to expand your background in building AJAX-based applications, I’m pretty certain that this article will be helpful to you. Welcome to the second part of the series “Building pop-up DIVs with the DOM and AJAX.” This series goes through creating pop-up boxes, which can be used in any web page to display additional information pulled from static or dynamic sources.

    Stepping back for a brief instant to the first tutorial of the series, quite possibly you'll recall that I introduced the basic concepts of how to create a single pop-up DIV. This originally presented some serious limitations, such as displaying only static content, aside from exposing an important bug when the application was executed with Internet Explorer 6.

    Obviously, these two issues needs to be properly addressed to build pop-up DIVs that are truly compatible with most modern browsers, besides expanding the original script in such a way that it can deal with multiple pop-up elements. Of course, this sounds like a complex topic, which requires a strong background on the DOM and its methods. In fact, the process is much simpler than you might be thinking.

    In this second part of the series I'll show you how to expand the original script that handles only one pop-up DIV so that it can manipulate multiple ones. I'll also fix the aforementioned compatibility issue when Internet Explorer is utilized.

    Are you ready to learn how to build multiple pop-up DIVs with the DOM? I knew your answer would be affirmative! Thus, with the preliminaries out of our way, let's get started.

    More JavaScript Articles
    More By Alejandro Gervasio


       · This second part of the series shows how to build multiple pop-up DIVS, and it...
     

    JAVASCRIPT ARTICLES

    - 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
    - Active Client Pages at the Server
    - ACP Tab Web Page







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    Stay green...Green IT