Below is a picture of something done on another site. I want to do the same thing. How do I do this: 1) An image is clicked. 2)The page turns black with some transparency 3)Another box appears with more content Can I do this with CSS or is this Javascript? Skinny
This is usually done with a combination of CSS and javascript. The greyed out bit is actually a div that is the size of the browser window with a transparent image, with the "content" simply just another div within the greyed out div. Javascript is used to set the visibility of the greyed out div (i.e. changes from invisible to visible, and back again when it is closed).
i would suspect it is done with both css and javascript. it could also be something like ajax or dhtml