SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2005
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AJAX: Loading an Overlay Layer

    I've seen some sites that allow you to view screenshots in an interesting way:

    When you click to go ahead and view screenshots, everything becomes slightly darkened and a loading symbol appears (I'm using Safari, and I see the Safari loading symbol) while the screenshot window loads. Once it loads, a screenshot appears in front of the slightly darkened layer that contains everything else. This feels a lot like Expose on the Mac.

    How would one accomplish this with AJAX (and CSS, I guess)? I know nothing about AJAX, so I'm completely clueless. How would you do it without the darkened background? Does the loading symbol appear automatically, or is that a nifty graphic that people add?

  2. #2
    SitePoint Enthusiast DEVlady's Avatar
    Join Date
    Aug 2005
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most of the scripts that people are using on their website to do this is based on the JavaScript Lightbox:

    http://www.huddletogether.com/projects/lightbox/

    let me know if that helps.

  3. #3
    SitePoint Wizard
    Join Date
    Jul 2003
    Location
    Kent
    Posts
    1,921
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Or for multiple variations of the original, try www.blinklist.com/tag/lightbox/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •