Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript image gallery with content overlay when clicked. no lightbox

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #42362
    user2015864
    Member

    I have a gallery of images, that i want to work with a javascript function which will display an overlay with text and content when an image is clicked in front of the of the gallery div

    i found a similar discussion on the forum [Here](https://css-tricks.com/forums/discussion/15796/text-overlay/p1 “Here”)

    this is the code i’m using [On codepen](http://codepen.io/user2015864/pen/iFqCE “overlay “)

    My question is why won’t the overlay stay in place and if it’s possible to have this work in a div constrained by width and height

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.