Help with a supporter hack

Hi wonder if someone can give me a hand with this.

I have some javascript code that hides your buy button for a set amount of time which is used with a video sales letter.

I want to hide the 3 supporter paypal payment options for a set amount of time before the paypal buy buttons appear.

It's suggested to place the Javascript right above the </head> area and the actual payment buttons need to be wrapped with <div>

So for supporter, where would I place the Javascript that needs to be positioned right above the </head> area and which part in supporter-framwork.php would need to be wrapped to hide the payment options?

Hope that makes sense :slight_smile:

  • georgef
    • The Incredible Code Injector

    Thanks Aaron, ok let me just double check that I have this:

    Here's my javascript code

       <script type="text/javascript">
        function showIt() {
          document.getElementById("hid").style.visibility = "visible";
        setTimeout("showIt()", 4000); // 1000 = 1 sec

    And then I was initially supposed to use this:

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

    So the jquery that you mentioned, would that work with the above
    or would I need to ditch something here?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.