Line 7: | Line 7: | ||
function flowtext(){ | function flowtext(){ | ||
var text = document.getElementsById('text')[0]; | var text = document.getElementsById('text')[0]; | ||
− | $(' | + | $('text').toggleClass('visible'); |
− | + | 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:30, 28 October 2017