WoltLab Suite 6.2 Handbuch
Deutsch/PHP-Version: Die Website-Struktur, Navigation und Überschriften sind auf Deutsch vorbereitet. Code-Beispiele und technische Namen bleiben unverändert.

Code-Beispiele - JavaScript API

This is a list of code snippets that do not fit into any of the other articles

and merely describe how to achieve something very specific, rather than explaining

the inner workings of a function.

ImageViewer

The ImageViewer is available on all frontend pages by default, you can easily

add images to the viewer by wrapping the thumbnails with a link with the CSS

class jsImageViewer that points to the full version.

<a href="http://example.com/full.jpg" class="jsImageViewer">
  <img src="http://example.com/thumbnail.jpg">
</a>