Can someone help me with this code (Blogger)?

Discussion in 'Blogging' started by april6e, Jul 18, 2010.

  1. april6e

    april6e Junior Member

    Joined:
    Jun 29, 2010
    Messages:
    102
    Likes Received:
    4
    I'm trying to code a video. I have a youtube video embedded on a squeeze page. I want the person to watch the video, and when it reaches a certain point in the video, to display a previously hidden paypal button leading to my product.

    I already have the instructions for the code, but I have no idea how to do it on blogger.


    script type="text/javascript">

    function showIt()
    {
    document.getElementById("hid").style.visibility = "visible";
    }

    setTimeout("showIt()", xxxxxxx);

    </script>


    I'm supposed to put that code between the <head> and </head> in the html on a website. I have to replace the x's with a number which determines when in the video my paypal button will pop up.



    <div align="center" id="hid" style=visibility: hidden">

    </div>


    And this is the code that I put under the embedded video, and put my paypal button code inside the <div> marks. Then it should work. But the guy explaining it assumed you had your own site. Is it possible to do this with Blogger? Or is there a web 2.0 service I can do it with?
     
  2. april6e

    april6e Junior Member

    Joined:
    Jun 29, 2010
    Messages:
    102
    Likes Received:
    4
    48 views?

    C'mon...
     
  3. enes9

    enes9 Registered Member

    Joined:
    Jun 27, 2009
    Messages:
    84
    Likes Received:
    16
    Occupation:
    A full time Search Engine Optimizer and Web Conten
    Location:
    In your dreams...
    since it's a JS, you have to parse it from JS code to HTML to make it work on the HTML of blogger. Search for JS to HTML parser. That would do the trick.