$(document).ready(function(){
var $p = $('div.striker');
$("#show").click(function(){
$p.css('overflow', 'visible');
});
});
Как сблизиться по клику?Как закрыть кнопку шоу при нажатии?
HTML
<div class="striker">
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
If you click on the "Hide" button, I will disappear.
</div>
<button id="show">Show</button>
Что вы подразумеваете под закрытием? ты имел в виду скрыть? –
Используйте свойство css "Display: none", чтобы скрыть .. –