Feed von
Beiträge
Kommentare

Tag Archiv 'Javascript'

Hyphenate texts with PHP

Hyphenation is something not widely used on the internet. But sometimes it is something you need to do in Browser-based applications. Just think of a PDF-File created on the fly by an application and the text is hyphenated in very strange ways or not at all. All just because of an algorithm that might hyphenate [...]

Lese den ganzen Artikel »

Shorten Texts via JavaScript

One day I ran into the trouble of having labes too long for the space they should go into. In this special case I had a navigation area with a width of 150 pixel but the strings that had to go into the navigation where much longer. So I decided that shortening the Labels by [...]

Lese den ganzen Artikel »