Busca en cnbGuatemala con Google
2 bytes añadidos
, hace 8 años
Línea 187: |
Línea 187: |
| })(jQuery); | | })(jQuery); |
| | | |
− | var originalHTML = $('#dynamicFont').html(); | + | var originalHTML = $('#content').html(); |
| resultHTML = originalHTML | | resultHTML = originalHTML |
| .replace(/<p>/g, ' ') | | .replace(/<p>/g, ' ') |
− | .replace(/<\/p>/g, '</div><br/><div class="dynamicFont">'); | + | .replace(/<\/p>/g, '</div><br/><div class="dynamicFontClass">'); |
| | | |
− | $('#dynamicFont').html(resultHTML); | + | $('#content').html(resultHTML); |
| | | |
| | | |
| $('#dynamicFont').splitLines({ tag: '<span class="dynamicFontLine">', width: 600, keepHtml: true}); | | $('#dynamicFont').splitLines({ tag: '<span class="dynamicFontLine">', width: 600, keepHtml: true}); |
− | $('.dynamicFont').splitLines({ tag: '<span class="dynamicFontLine">', width: 600, keepHtml: true}); | + | $('.dynamicFontClass').splitLines({ tag: '<span class="dynamicFontLine">', width: 600, keepHtml: true}); |
| | | |
| | | |