Busca en cnbGuatemala con Google
129 bytes añadidos
, hace 8 años
Línea 206: |
Línea 206: |
| $(this).append(' <span class="dynamicFontLineWordsNumber"> '+(wordsLength)+'</span>'); | | $(this).append(' <span class="dynamicFontLineWordsNumber"> '+(wordsLength)+'</span>'); |
| }); | | }); |
| + | |
| | | |
| | | |
| $(document).ready(function(){ | | $(document).ready(function(){ |
− | $( "button" ).click(function() { | + | $("#hide").click(function(){ |
− | $( "span.dynamicFontLineWordsNumber" ).hide( "slow" );
| + | $("span.dynamicFontLineWordsNumber").hide(); |
− | }); | + | }); |
| + | $("#show").click(function(){ |
| + | $("span.dynamicFontLineWordsNumber").show(); |
| + | }); |
| }); | | }); |
| + | |
| | | |
| </script> | | </script> |
Línea 238: |
Línea 243: |
| } | | } |
| </style> | | </style> |
− | | + | <button id="hide">Hide</button> |
− | <button>Hide numbers</button> | + | <button id="show">Show</button> |