Wijmo UI for the Web
wijgallery jQuery Widget
Display images in a customizable slideshow collection and animate transitions between images, display previous and next thumbnail images, add captions, and more.
Syntax
$(function () {
    var options; // Type:  wijmo.gallery.wijgallery.options
     
    $(".selector").wijgallery(options);
});
function wijgallery() : any;
Options
 NameDescription
public Option

Default value: false

Allows pictures to be played automatically.

 
public Option

Default value: true

Determines whether to turn on the autoplay option in movie player.

 
public Option

Default value: ""

Determines the innerHTML of the custom control.

 
public Option

A value that indicates the position settings for the custom control.

 
public Option

Default value: '[i] of [n]'

Determines the text format of counter.

 
public Option

Default value: []

An object collection that contains the data of the gallery.

 
public Option

Default value: 'player\\\\expressInstall.swf'

The relative path and name of the flash installation guide.

 
public Option

A hash object that contains parameters for flash object.

 
public Option

A hash object that contains variants for flash object.

 
public Option

Default value: '9.0.115'

Version of flash object.

 
public Option

Default value: 'player\\\\player.swf'

The relative path and name of the flash vedio player.

 
public Option

Default value: 5000

Determines the time span between 2 pictures showing in autoplay mode.

 
public Option

Default value: 'img'

Determines the display mode of the gallery. Possible values: "img", "iframe", "swf", "flv"

 
public Option

Determines the position of the pager.

 
public Option

Default value: false

If set to true, the thumbnails will auto scrolled after you select the image.

 
public Option

Default value: true

Determines whether the caption of items should be shown.

 
public Option

Default value: false

Determines whether the custom control should be shown.

 
public Option

Default value: true

Determines whether the controls should be shown after the dom element is created or hovered on.

 
public Option

Default value: true

Determines whether the controls should be shown after the dom element is created or hovered on.

 
public Option

Default value: false

Determines whether to turn on the movie controls in movie player.

 
public Option

Default value: false

Determines if the pager should be shown.

 
public Option

Default value: false

Determines whether to show captions for the thumbnails in the gallery.

 
public Option

Default value: true

Determines if the timer bar should be shown.

 
public Option

Default value: 'after'

Determines the direction of the thumbnails. Possible values are: "before" and "after".

 
public Option

Default value: 'horizontal'

Determines the orientation of the thumbnails. Possible values are: "vertical" and "horizontal".

 
public Option

Default value: 5

Determines how many thumbnails should be displayed.

 
public Option

Default value: 100

Determines the length of the thumbnails.

 
public Option

A value that determines the settings of the animation effect to be used when the wijgallery is scrolling.

 
Top
Methods
 NameDescription
public MethodAdds a custom item with specified index. The first parameter is the new item to add, it should be a jQuery Element or HTML string. The second parameter is the index of item to add , If no index specified the item will be added at the last of item collection.  
public MethodReturns a count of the number of items in the gallery.  
public MethodRemoves the wijgallery functionality completely. This returns the element to its pre-init state.  
public MethodShows the next picture.  
public MethodStops automatically displaying the images in order.  
public MethodStarts automatically displaying each of the images in order.  
public MethodShows the previous picture.  
public MethodRemoves the item at specified index. The parameter is the index of item to add , If no index specified the last item will be removed.  
public MethodShows the picture at the specified index.  
public MethodReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventThe afterTransition event handler. A function called after the transition is over.  
public EventThis is the beforeTransition event handler. It is a function called before transitioning to another image.  
public EventThe loadCallback event handler. A function called after the dom element is created.  
Top
See Also

Widgets

Gallery

Reference

wijgallery jQuery Widget