Forums

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

Home Forums Other image covering iFrame till clicked

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41259
    kpiatak
    Member

    I would like to have an image covering an iframe until the image is clicked.

    I would like the image to fadeout, or just disappear, then the iframe appear.

    How would I go about doing this? Some sort of onClick function?

    #116770
    Paulie_D
    Member

    Is this going to be the same image all the time?

    Does the image serve any function other than to hide the iframe?

    #116771
    kpiatak
    Member

    @Paulie_D everytime the page is reloaded it will be the same image. Its purpose is to hide the iFrame because the iFrame has an autoplay for the video that starts right when the page is loaded, and the image on top is to prevent this from happening.

    #116772
    Paulie_D
    Member

    …but won’t the video start playing regardless of whether the iframe is visible or not?

    This sounds like a ‘hacky’ solution to something that should be fixed at source.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.