1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

js and content locking help ?

Discussion in 'HTML & JavaScript' started by west555, Oct 23, 2014.

  1. west555

    west555 Regular Member

    Dec 4, 2011
    Likes Received:
    am trying to setup cpagrip content locker on my download btn image so users get download url after they finish offers. Usually i would do it directly and setup download link in locker itself and just add call_locker in the image code, but here am hunting for quantity over quality and i need to have only 1 locker

    so i added something like this

    <p style="text-align: center;"><a href="My download url"><img class="alignnone size-medium wp-image-10" src="/wp-content/uploads/2014/10/download-titanfall-button-300x99.png" alt="download-titanfall-button" width="300" height="99" onclick="call_locker();"/></a></p>

    so i get the locker show up when users click on download btn, but at the same time they get the download link regardless of the locker

    is there any way to set this up so download url doesn't show until l locker is removed aka offer finished ?