Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
if(isset($_POST['i_agree'])) {
echo "<script type='text/javascript'>
$(function(){
$(".pole1").show();
$(".pole2").show();
});
</script>";
} else {
if(isset($_POST['i_not_agree'])) {
echo "<script type='text/javascript'>
$(function(){
$(".pole1").hide();
$(".pole2").hide();
});
</script>";
}
}
<script type='text/javascript'>
$(function(){
$(".opciq1").click(function(){
$(".pole1").hide();
$(".pole2").hide();
});
$(".opciq2").click(function(){
$(".pole1").show();
$(".pole2").show();
});
});
</script>