Gallery 1

Gallery 2

Only one Picture

API Call

A simple button can open the FaceBox

Videos Support

Iframe Support

Ajax Support

$(function(){
    $('[rel="FaceBox"]').FaceBox();
});
Attribute Type Default Description
animation_speed string fast fast, slow, normal
slideshow integer 5000 false OR interval time in ms
autoplay_slideshow boolean false true/false
opacity float 0.80 opacity of box. Value between 0 and 1
show_title boolean true Show title above Facebox
allow_resize boolean true Resize the photos bigger than viewport.
default_width boolean 600 Default width of box
default_height boolean 400 Default height of box
facebook_lang string en_US Language of Facebook API.
counter_separator_label string / The separator for the gallery counter 1 "of" 2
horizontal_padding integer 20 The padding on each side of the picture
hideflash boolean false Hides all the flash object on a page, set to TRUE if flash appears over FaceBox
wmode string opaque Set the flash wmode attribute
autoplay boolean true Automatically start videos
modal boolean false If set to true, only the close button will close the window
deeplinking boolean true Allow FaceBox to update the url to enable deeplinking
overlay_gallery boolean true If set to true, a gallery will overlay the fullscreen image on mouse over
overlay_gallery_max integer 30 Maximum number of pictures in the overlay gallery
keyboard_shortcuts boolean true Set to false if you open forms inside FaceBox
changepicturecallback function Called everytime an item is shown/changed
callback function Called when FaceBox is closed
markup string Html Content Html structure of all box
gallery_markup string Html Content Html structure of gallery