aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/lightbox.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/lightbox.php')
-rw-r--r--views/default/js/lightbox.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/js/lightbox.php b/views/default/js/lightbox.php
index 5f3764756..a1f018eea 100644
--- a/views/default/js/lightbox.php
+++ b/views/default/js/lightbox.php
@@ -3,7 +3,12 @@
* Elgg lightbox
*
* Usage
- * Apply the class elgg-lightbox to links.
+ * Call elgg_load_js('lightbox') and elgg_load_css('lightbox') then
+ * apply the class elgg-lightbox to links.
+ *
+ * Advanced Usage
+ * Elgg is distributed with the Fancybox jQuery library. Please go to
+ * http://fancybox.net for more information on the options of this lightbox.
*
* Overriding
* In a plugin, override this view and override the registration for the
@@ -12,6 +17,7 @@
* @todo add support for passing options: $('#myplugin-lightbox').elgg.ui.lightbox(options);
*/
+if (0) { ?><script><?php }
?>
/**