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

Home Forums JavaScript transform to a video gallery

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #37020

    HI i’m new here,
    I try to transform a well working foto-gallery into a video-gallery – but it won’t work.

    I tried to change the pictures to videos, so that the videos are always on the same (only one) place and it is switched between the videos.
    I tried to change the “showPic” into “showVideo” but this doesn’t work. It’s only possible to see the first video by loading the page, but klicking the links will not do anything. Does anybody know where my mistake is?

    The original code is by Jeremy Keith published in A list Apart
    Here’s the JavaScript:

    here’s the HTML5:

    Choose a link to begin

    thanks for ideas


    CORRECTION: The question is a new one: How to link to different videoformats at the same time using a normal link? I think this is my problem on this project.

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