web design/css question/dynamic html/ajax?

Discussion in 'OT Technology' started by D1G1T4L, May 21, 2007.

  1. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
    http://starcraft2.com/features/protoss/

    if you click on the screenshot or the concept art picture, they get bigger/big thumbnail picture shows up and everything else becomes unselectable and darker....... how did they do it?
     
  2. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
  3. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    Lol, they're using a slightly modified version of "Lightbox"

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

    which is proven simply by looking at the JS files at starcraft's site.
    Code:
    /* Omega Skip's Lightbox - SAFETY NOT GUARANTEED! */
    /* Memo to self: Clean up this code, for it is wretched */
     
  4. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area

    all right ..... never heard of lightbox before.....thx though kyle
     
  5. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
  6. MrBrotato

    MrBrotato New Member

    Joined:
    Sep 7, 2005
    Messages:
    5,558
    Likes Received:
    0
    Just a quick guess without looking at the code: Probably a fixed background (the planet) at the bottom of the page and then a table or div that takes up everything you see with its own background and then part of that table or div background is transparent allowing you to see the fixed page background below. Make sense? Ok, good :).
     
  7. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    yea, transparent gif overlaying a fixed bg. not complicated.
     
  8. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
    All right so far so good.... 1 more question
    http://starcraft2.com/
    if you click updates on the main page, the page doesnt change but the content changes..... is that ajax type of thing? or how can you do that
     
  9. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,646
    Likes Received:
    15
    Location:
    Atlanta
    most likely ajax
     
  10. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area

    any more specific info?
     
  11. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    if he got more specific he'd be writing an article about ajax.

    www.google.com
     
  12. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
    :fawk: :squint:
     

Share This Page