Сообщение от Black_Star
|
Есть HTML
...
К нему рабочий код
|
И что там рабочего?
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1251' />
<script src='http://code.jquery.com/jquery-latest.js'></script>
<!--
<script src="https://code.angularjs.org/1.3.9/angular.min.js"></script>
<script src="https://code.angularjs.org/1.3.9/angular-route.js"></script>
-->
<style type='text/css'>
</style>
<script type='text/javascript'>
$(function(){
var $youngButt = $('.youngButton');
var mainBoxGymnastics =$('#mainBoxGymnastics');
var $mainSection =$('#mainBoxHiden'),
$youngSection =$('#Young');
$youngButt.click(function() {
$('#mainBoxGymnastics > div:not(#Young)').hide();
});
});
</script>
</head>
<body>
<div id="menuSections">
<a class="youngButton">Young</a>
</div>
<div id="mainBoxGymnastics">
<div id="Young">Young txt
<div class="leftBlock">leftBlock</div>
<div class="sectionText">sectionText</div>
</div>
</div>
</body>
</html>