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.
Nazi_93, пробвах пред последното което е, настроих си го вместо бутон, да е с текст да се клика с <h9>. Но искам докато не е кликнато да е скрито. Ще може ли да ми го настроиш?
<!DOCTYPE html>
<html>
<head>
<style>
p { background:#dad;
font-weight:bold;
font-size:16px; }
</style>
<script src="faq.js"></script>
</head>
<body>
<h9>Toggle 'em</h9>
<p>Hiya</p>
<p>Such interesting text, eh?</p>
<script>
$("h9").click(function () {
$("p").toggle("slow");
});
</script>
</body>
</html>
ок ще ти направя 1 samplezdark каза:Js-то ми е индия.... Би ли го направил вместо мен?
<!DOCTYPE html>
<html>
<head>
<style>
p { background:#dad;
font-weight:bold;
font-size:16px; }
display:none;
</style>
<script src="faq.js"></script>
</head>
<body>
<h9>Toggle 'em</h9>
<p>Hiya</p>
<p>Such interesting text, eh?</p>
<script>
$("h9").click(function () {
$("p").toggle("slow");
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
p { background:#dad;
font-weight:bold;
font-size:16px;
display:none;
}
</style>
<script src="jquery-1.6.1.js"></script>
<script>
function pokaji(){
$("#text").toggle("slow");
};
</script>
</head>
<body>
<a href="#" onclick="pokaji()" > <h9 >Toggle 'em</h9></a>
<p id="text">Hiya<br/>
Such interesting text, eh?</p>
</body>
</html>