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.
и тая js функцийка<a href="javascript: open('mydiv');">Отвори</a> <br />
<div style="display: none;" id="mydiv">Твоя интересен текст</div>
<script type="text/javascript">
function open(div) {
document.getElementById(div).style.display = 'block';
}
</script>
<style>
#second {
border: 1px dotted black;
height:100px;
width:200px;
}
</style>
<script type="text/javascript" >
$(function()
{
$("#second").hide();
$("#first").click(function()
{
$("#second").toggle("slow");
});
});
</script>
<div id="first">Кликни тук, някакъв текст ала бала....</div>
<div id="second" align="center">текста, който ще излиза ..... :D:D</div>
<style>
#second {
border: 1px dotted black;
height:100px;
width:200px;
}
</style>
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script>
<script type="text/javascript" >
$(function()
{
$("#second").hide();
$("#first").click(function()
{
$("#second").toggle("slow");
});
});
</script>
<div id="first">Кликни тук, някакъв текст ала бала....</div>
<div id="second" align="center">текста, който ще излиза ..... :D:D</div>