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.
а ето ти един примеред див и бутон$(document).ready(function(){
$(".showhide").click(function(){
if ($(this).attr("alt") == "show") { $(this).attr({ src: "minus.png",alt: "hide"}); $("#menu").show(); }
else { $(this).attr({src: "plus.png",alt:"show"}); $("#menu").hide(); }
});
});
<img src="plus.png" alt="show" class="showhide" /> <br />
<div id="menu">
тук текста, който искаш да скриеш/покажеш
</div>
:idea:<img src="plus.png" alt="show" class="showhide" /> <br />