<script type="text/javascript" src="Hyphenator.js"></script>
<script type="text/javascript">
Hyphenator.run();
</script>
また、以下のようにする必要があります。
<html lang="en">
<p class="hyphenate" lang="en">English words are shorter in the average then german words.
<span lang="de">?Silbentrennungsalgorithmus?</span> for example is quite long.</p>
English words are shorter in the average then german words. ?Silbentrennungsalgorithmus? for example is quite long.
Resize the window to see hyphenation in effect.
Not only words but also links like http://code.google.com/p/hyphenator/ are processed. But in a special manner (using zero width space).
English words are shorter in the average then german words. ?Silbentrennungsalgorithmus? for example is quite long.
Resize the window to see hyphenation in effect.
Not only words but also links like http://code.google.com/p/hyphenator/ are processed. But in a special manner (using zero width space).