Full screen transparant DIV

Discussion in 'CSS' started by casper, Feb 25, 2007.

  1. #1
    Hi guys,

    I'm trying to create a form that will popup while the background fades away and I'm pretty far :) . It works in IE6 but Fx is giving me some troubles. You can view my example here. Click on 'workspace' and view the example in action. It works great in IE6; the background fades to transparant gray and the form pops up, but I cannot seem to fix the form in Fx. The background is not full screen, you can see the error when you use your scrollbar. I tried position:absolute and bottom:0 on the gray layer but it isn't working.

    Ideas anyone?

    thx!
     
    casper, Feb 25, 2007 IP
  2. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #2
    You might get away borrowing some javascript code ideas from here.
    As long as you keep the credits in, I don't see a problem.
     
    Clive, Feb 25, 2007 IP
  3. casper

    casper Guest

    Messages:
    181
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thx for the quick response clive!
    Unfortunately, the lightbox only seems to work with images. I tried to call an HTML file but it didn't respond.

    grz

    [edit]
    I found some kind of a lightbox fork @ http://jquery.com/demo/thickbox/
     
    casper, Feb 25, 2007 IP