This property isn't actually used as Colorbox assumes all hrefs should be treated as either ajax or photos, unless one of the other content types were specified.
If false, will disable the left and right arrow keys from navigating between the items in a group.
Accepts a pixel or percent value (50, "50px", "10%"). Controls Colorbox's vertical positioning instead of using the default position of being centered in the viewport.
Adds a given class to colorbox and the overlay.
Text or HTML for the close button. The 'esc' key will also close Colorbox.
Text or HTML for the group counter while viewing a group. {current} and {total} are detected and replaced with actual numbers while Colorbox runs.
For submitting GET or POST values through an ajax request. The data property will act exactly like jQuery's .load() data argument, as Colorbox uses .load() for ajax handling.
If false, will disable closing colorbox on 'esc' key press.
Sets the fadeOut speed, in milliseconds, when closing Colorbox.
If false, the loading graphic removal and onComplete event will be delayed until iframe's content has completely loaded.
If true, Colorbox will be displayed in a fixed position within the visitor's viewport. This is unlike the default absolute positioning relative to the document.
Set a fixed total height. This includes borders and buttons. Example: "100%", "500px", or 500
This can be used as an alternative anchor URL or to associate a URL for non-anchor elements such as images or form buttons.
For displaying a string of HTML or text: $.colorbox({html:"
Hello
"});If true, specifies that content should be displayed in an iFrame.
Error message given when a link to an image fails to load.
Set the initial height, prior to any content being loaded.
Set the initial width, prior to any content being loaded.
If true, content from the current document can be displayed by passing the href property a jQuery selector, or jQuery object.
This is an alternative to 'height' used to set a fixed inner height. This excludes borders and buttons. Example: "50%", "500px", or 500
This is an alternative to 'width' used to set a fixed inner width. This excludes borders and buttons. Example: "50%", "500px", or 500
Accepts a pixel or percent value (50, "50px", "10%"). Controls Colorbox's horizontal positioning instead of using the default position of being centered in the viewport.
If false, will disable the ability to loop back to the beginning of the group when on the last element.
Set a maximum height for loaded content. Example: "100%", 500, "500px"
Set a maximum width for loaded content. Example: "100%", 500, "500px"
Text or HTML for the next button while viewing a group.
Callback that fires at the start of the close process.
Callback that fires once Colorbox is closed.
Callback that fires right after loaded content is displayed.
Callback that fires right before attempting to load the target content.
Callback that fires right before Colorbox begins to open.
The overlay opacity level. Range: 0 to 1.
If true, Colorbox will immediately open.
If false, disables closing Colorbox by clicking on the background overlay.
If true, this setting forces Colorbox to display a link as a photo. Use this when automatic photo detection fails (such as using a url like 'photo.php' instead of 'photo.jpg')
Allows for preloading of 'Next' and 'Previous' content in a group, after the current content has finished loading. Set to false to disable.
Text or HTML for the previous button while viewing a group.
This can be used as an anchor rel alternative for Colorbox.
Repositions Colorbox if the window's resize event is fired.
If true, Colorbox will scale down the current photo to match the screen's pixel ratio
If retinaUrl is true and the device has a high resolution display, the href value will have it's extention extended with this suffix. For example, the default value would change my-photo.jpg
to my-photo@2x.jpg
If true and the device has a high resolution display, Colorbox will replace the current photo's file extention with the retinaSuffix+extension
If true, focus will be returned when Colorbox exits to the element it was launched from.
Accepts a pixel or percent value (50, "50px", "10%"). Controls Colorbox's horizontal positioning instead of using the default position of being centered in the viewport.
If true, and if maxWidth, maxHeight, innerWidth, innerHeight, width, or height have been defined, Colorbox will scale photos to fit within the those values.
If false, Colorbox will hide scrollbars for overflowing content.
If true, adds an automatic slideshow to a content group / gallery.
If true, the slideshow will automatically start to play.
Sets the speed of the slideshow, in milliseconds.
Text for the slideshow start button.
Text for the slideshow stop button
Sets the speed of the fade and elastic transitions, in milliseconds.
This can be used as an anchor title alternative for Colorbox.
Accepts a pixel or percent value (50, "50px", "10%"). Controls Colorbox's vertical positioning instead of using the default position of being centered in the viewport.
The transition type. Can be set to "elastic", "fade", or "none".
Set a fixed total width. This includes borders and buttons. Example: "100%", "500px", or 500
Error message given when ajax content for a given URL cannot be loaded.