Highslide JS API Reference

Close Move
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam dapibus leo quis nisl. In lectus. Vivamus consectetuer pede in nisl. Mauris cursus pretium mauris. Suspendisse condimentum mi ac tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec sed enim. Ut vel ipsum. Cras consequat velit et justo. Donec mollis, mi at tincidunt vehicula, nisl mi luctus risus, quis scelerisque arcu nibh ac nisi. Sed risus. Curabitur urna. Aliquam vitae nisl. Quisque imperdiet semper justo. Pellentesque nonummy pretium tellus.
Resize

Object: hs

Variables

Functions

Events

Object: hs.Expander

Variables

Functions

Events



hs.lang

The 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

Type object
Default value
Overrideable inline No

Example

Localising Highslide to German

Add 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

New, Edit