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

Need a little help with Javascript

Discussion in 'HTML & JavaScript' started by _Biju_, Apr 13, 2012.

Thread Status:
Not open for further replies.
  1. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    I don't know javascript and I'd like to show the content locker only when a button is pressed.

    so the button is:
    Code:
    <div class="button1">
          <a href="http://urltofile/">DOWNLOAD</a>
    </div>
    
    and when pressed it should show the content locker:
    Code:
    <script src="http://cdn.blamads.com/assets/js/gwne.js" type="text/javascript"></script>
    <script src="http://js.blamads.com/user_data.js" type="text/javascript"></script>
    <noscript><meta http-equiv="refresh" content="0;url=https://blamads.com/"/></noscript>
    
    Thank you
     
    Last edited: Apr 13, 2012
Thread Status:
Not open for further replies.