Creating a Fake Video Squeeze Page with some Javascript

1 replies
  • WEB DESIGN
  • |
Hi everyone,

I am looking at creating a "fake video" squeeze page where someone clicks on a picture that looks like a video but when he/she clicks on it, there will be a pop up that ask he/she to enter his/her email address.

I was searching on Google for answers or help on how to do it and found a thread that created a while back.

http://www.warriorforum.com/main-internet-marketing-discussion-forum/189732-fake-video-tease-pop-up-doo-dad.html


This was the thread. I tried doing whatever the last guy said to try use but it did not work.

Anyone knows how to make this work?

I know it has got something to do with javascript and "onclick" type thing.


Thank You in advance to anyone who knows how to help me with this!!!

Joshua
#creating #fake #javascript #page #squeeze #video
  • Profile picture of the author Jahnold
    This would be nice and easy with jQuery. You'd have the div with the image in:

    <div id="ClickMe"><img src="img.jpg"></img></div>

    and you'd also have another div with the form in to submit name/email which would initially be set to hidden:

    <div id="Squeeze" style="display:none">
    insert form code here
    </div>

    Then you'd need some javascript in the header, first linking to jQuery and then the actual script:

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript">

    $(document).ready(function() {
    $("#ClickMe").bind('click', function() {
    $("#Squeeze").show();
    }
    });

    </script>

    Matt
    {{ DiscussionBoard.errors[3167274].message }}

Trending Topics