Object: hsVariables
Functions
EventsObject: hs.ExpanderVariablesFunctionsEvents
|
hs.langThe object containing language strings for localisation.
Since 4.0 the language strings are gathered in the hs.lang object instead of being defined directly on the hs namespace. However, backwards compatibility is kept. For a complete overview over user supplied language objects, see the Editor. Under the General tab, choose your language. Then either use the Editor's Publish button, or if you want to copy and paste the language object, click the "View JavaScript" button.
Details
ExampleLocalising Highslide to GermanAdd this to the head section of your page. In this example all language strings from highslide-full.js are present. <script type="text/javascript"> // Language strings hs.lang = { cssDirection: 'ltr', loadingText : 'Lade...', loadingTitle : 'Klick zum Abbrechen', focusTitle : 'Klick um nach vorn zu bringen', fullExpandTitle : 'Zur Originalgröße erweitern', fullExpandText : 'Vollbild', creditsText : 'Powered by <i>Highslide JS</i>', creditsTitle : 'Gehe zur Highslide JS Homepage', previousText : 'Voriges', previousTitle : 'Voriges (Pfeiltaste links)', nextText : 'Nächstes', nextTitle : 'Nächstes (Pfeiltaste rechts)', moveTitle : 'Verschieben', moveText : 'Verschieben', closeText : 'Schließen', closeTitle : 'Schließen (Esc)', resizeTitle : 'Größe wiederherstellen', playText : 'Abspielen', playTitle : 'Slideshow abspielen (Leertaste)', pauseText : 'Pause', pauseTitle : 'Pausiere Slideshow (Leertaste)', number : 'Bild %1/%2', restoreTitle : 'Klick um das Bild zu schließen, klick und ziehe um zu verschieben. Benutze Pfeiltasten für vor und zurück.' }; </script> The effect:Move the mouse over the controls to see the title tooltips. See also |