Differences

This shows you the differences between two versions of the page.

english:other-enhancements:simple-tooltip-abbr [2011/08/24 14:37]
Knut Heermann (flip-flop) created
english:other-enhancements:simple-tooltip-abbr [2018/06/03 18:09] (current)
Line 5: Line 5:
FIXME Translate FIXME Translate
-A simple JavaScript "tool tip" which converts the title tag within the inline element **<abbr>** in formated text. +A simple JavaScript "tool tip" which converts the title tag within the inline element **<abbr>** in formated text. \\ 
-//([[http://de.selfhtml.org/html/referenz/attribute.htm#abbr|ABBR: Inline-Element für Abkürzung im Text]])//+//([[http://webdesign.about.com/od/htmltags/p/bltags_abbr.htm|<abbr></abbr>]])//
\\ \\
Line 201: Line 201:
</code> </code>
-Alle betreffenden Zeichen werden vom Script in Entities gewandelt und "title" in "tiptitle" umgeschrieben.+All items concerned will be changed into Entities by the script and "title" will be rewritten into "tiptitle".
-Ist nun JavaScript auf dem Client nicht eingeschaltet wird der Ursprungstext mit den HTML-Steuerzeichen ausgegeben. \\ +In case that JS isn't switched on by the client the original text including the HTML-tags will be displayed. \\ 
-Man muss sich also entscheiden, ob mit oder ohne Formatierung gearbeitet werden soll. Für die Formatierung muss JS auf dem Client eingeschaltet sein. +You have to decide if you want to apply any formatting or not. Client's JS has to be switched o for formatting purposes.
-Dazu kommt noch, dass alle Bots natürlich den "title" mit den HTML-Steuerzeichen aufnehmen. In wie weit das ein Nachteil ist, kann ich nicht sagen.+Additionally all Bots will catch the title with all HTML tags. Whether this is a disadvantage or not can't be told so far.
-Anmerkung: Es gibt keine wirklich zuverlässige Methode um mit PHP festzustellen ob JS auf dem Client ein- oder ausgeschaltet ist //(Geht nur über Seitenweiterleitung per JS ....)//.  +Annotation: There isn't any reliable method to check for client's JS being on or off via PHP //(It's working with page forwarding via JS though ....)//.  
\\ \\
 +
==== Download ==== ==== Download ====
english/other-enhancements/simple-tooltip-abbr.1314189421.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0