Line 2: | Line 2: | ||
<body> | <body> | ||
<script> | <script> | ||
− | $('.flowtext').click(function() { | + | /*$('.flowtext').click(function() { |
$('#text').toggleClass('visible'); | $('#text').toggleClass('visible'); | ||
− | }); | + | });*/ |
function flowtext(){ | function flowtext(){ | ||
var text = document.getElementsById('text'); | var text = document.getElementsById('text'); | ||
$('text').toggleClass('visible'); | $('text').toggleClass('visible'); | ||
$('#text').toggleClass('visible'); | $('#text').toggleClass('visible'); | ||
− | if (!text.style.display || text.style.display === 'none') text.style.display = 'block'; | + | /*if (!text.style.display || text.style.display === 'none') text.style.display = 'block'; |
− | else text.style.display = 'none'; | + | else text.style.display = 'none';*/ |
} | } | ||
</script> | </script> |
Revision as of 20:44, 28 October 2017