jaikob Posted April 23, 2008 Share Posted April 23, 2008 Hey, im in the process of trying to black out the backround of a browser window to emphasize a div positioned in the center. Lightbox effect rather. In javascript how would i achieve blacking out the screen? I dont want to download lightbox JS or anything like that. Thanks =] Quote Link to comment Share on other sites More sharing options...
optikalefx Posted April 24, 2008 Share Posted April 24, 2008 its really simple actually. just create an alpha black div the size of the screen. and then use intervals to fade it in and out. or you could do the cool way and use canvas. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.