1 | $(document).ready(function () {
|
---|
2 | $('#featurednews').galleryView({
|
---|
3 | show_panels: true, //BOOLEAN - flag to show or hide panel portion of gallery
|
---|
4 | show_filmstrip: true, //BOOLEAN - flag to show or hide filmstrip portion of gallery
|
---|
5 |
|
---|
6 | panel_width: 600, //INT - width of gallery panel (in pixels)
|
---|
7 | panel_height: 280, //INT - height of gallery panel (in pixels)
|
---|
8 |
|
---|
9 | frame_width: 100, //INT - width of filmstrip frames (in pixels)
|
---|
10 | frame_height: 60, //INT - width of filmstrip frames (in pixels)
|
---|
11 |
|
---|
12 | start_frame: 1, //INT - index of panel/frame to show first when gallery loads
|
---|
13 |
|
---|
14 | filmstrip_size: 3,
|
---|
15 |
|
---|
16 | transition_speed: 800, //INT - duration of panel/frame transition (in milliseconds)
|
---|
17 | transition_interval: 4000, //INT - delay between panel/frame transitions (in milliseconds)
|
---|
18 |
|
---|
19 | overlay_opacity: 0.7, //FLOAT - transparency for panel overlay (1.0 = opaque, 0.0 = transparent)
|
---|
20 | frame_opacity: 0.3, //FLOAT - transparency of non-active frames (1.0 = opaque, 0.0 = transparent)
|
---|
21 |
|
---|
22 | pointer_size: 0, //INT - Height of frame pointer (in pixels)
|
---|
23 |
|
---|
24 | nav_theme: 'dark', //STRING - name of navigation theme to use (folder must exist within 'themes' directory)
|
---|
25 |
|
---|
26 | easing: 'swing', //STRING - easing method to use for animations (jQuery provides 'swing' or 'linear', more available with jQuery UI or Easing plugin)
|
---|
27 |
|
---|
28 | filmstrip_position: 'bottom', //STRING - position of filmstrip within gallery (bottom, top, left, right)
|
---|
29 | overlay_position: 'bottom', //STRING - position of panel overlay (bottom, top, left, right)
|
---|
30 |
|
---|
31 | panel_scale: 'nocrop', //STRING - cropping option for panel images (crop = scale image and fit to aspect ratio determined by panel_width and panel_height, nocrop = scale image and preserve original aspect ratio)
|
---|
32 | frame_scale: 'crop', //STRING - cropping option for filmstrip images (same as above)
|
---|
33 | frame_gap: 5, //INT - spacing between frames within filmstrip (in pixels)
|
---|
34 |
|
---|
35 | show_captions: false, //BOOLEAN - flag to show or hide frame captions
|
---|
36 |
|
---|
37 | fade_panels: true, //BOOLEAN - flag to fade panels during transitions or swap instantly
|
---|
38 |
|
---|
39 | pause_on_hover: true //BOOLEAN - flag to pause slideshow when user hovers over the gallery
|
---|
40 | });
|
---|
41 | }); |
---|