How can be done that only ones who "likes it" can click on button. In another word the download button is clickable only after click on ""like button.
4 replies to this topic
#1
Posted 18 January 2012 - 09:31 AM
|
|
|
#2
Posted 18 January 2012 - 10:53 AM
Pretty simply, the state of the download link is changed on the onclick event of the like button
#3
Posted 18 January 2012 - 02:00 PM
Can you edit that code. Need example. Here is my situation
If there is needed something more just say it.
<div id="download-form"> <form action="" method="GET" id="download"> <input type="text" name="url" value="<?= isset($url) ? $url : 'Tutaj włożyć link z youtube ...'; ?>" onclick="if(this.value == 'Tutaj włożyć link z youtube ...')this.value='';"> <a href="#" onclick="document.forms['download'].submit();"> <span>Ściagaj</span> </a> </form> </div>
If there is needed something more just say it.
#4
Posted 22 January 2012 - 07:56 AM
Any suggestion?
#5
Posted 23 January 2012 - 06:35 AM
Create a download link or button, set it to hidden.
Create a "LIKE" link or button, and in it's onclick event, change the visibility of the download button to visible.
Create a "LIKE" link or button, and in it's onclick event, change the visibility of the download button to visible.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









