/[drupal]/contributions/modules/shadowbox/shadowbox.js
ViewVC logotype

Contents of /contributions/modules/shadowbox/shadowbox.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download) (as text)
Sun Jun 1 22:55:57 2008 UTC (17 months, 3 weeks ago) by psynaptic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
File MIME type: text/javascript
Syncing HEAD back with DRUPAL-6--1 after CVS mistake.
1 // $Id: shadowbox.js,v 1.4 2008/04/24 17:48:59 psynaptic Exp $
2 if (Drupal.jsEnabled) {
3 $(document).ready(function(){
4 var options = {
5 assetURL: Drupal.settings.shadowbox.asset_url,
6 loadingImage: Drupal.settings.shadowbox.loading_image,
7 animate: Drupal.settings.shadowbox.animation,
8 animSequence: Drupal.settings.shadowbox.animation_sequence,
9 flvPlayer: Drupal.settings.shadowbox.flv_player,
10 overlayColor: Drupal.settings.shadowbox.overlay_color,
11 overlayOpacity: Drupal.settings.shadowbox.overlay_opacity,
12 overlayBgImage: Drupal.settings.shadowbox.background_image,
13 listenOverlay: Drupal.settings.shadowbox.overlay_listen,
14 autoplayMovies: Drupal.settings.shadowbox.autoplay_movies,
15 showMovieControls: Drupal.settings.shadowbox.show_movie_controls,
16 resizeDuration: Drupal.settings.shadowbox.resize_duration,
17 fadeDuration: Drupal.settings.shadowbox.fade_duration,
18 displayNav: Drupal.settings.shadowbox.display_nav,
19 continuous: Drupal.settings.shadowbox.continuous_galleries,
20 displayCounter: Drupal.settings.shadowbox.display_counter,
21 counterType: Drupal.settings.shadowbox.counter_type,
22 viewportPadding: Drupal.settings.shadowbox.viewport_padding,
23 handleLgImages: Drupal.settings.shadowbox.handle_large_images,
24 initialHeight: Drupal.settings.shadowbox.initial_height,
25 initialWidth: Drupal.settings.shadowbox.initial_width,
26 enableKeys: Drupal.settings.shadowbox.enable_keys,
27 keysClose: Drupal.settings.shadowbox.keys_close,
28 keysPrev: Drupal.settings.shadowbox.keys_previous,
29 keysNext: Drupal.settings.shadowbox.keys_next,
30 handleUnsupported: Drupal.settings.shadowbox.handle_unsupported
31 };
32 Shadowbox.init(options);
33 });
34 }

  ViewVC Help
Powered by ViewVC 1.1.2