Padding |
10 |
Browse the inside margin of the box, and padding in css a meaning |
Margin |
20 |
Browse the outside margin of the box, and the margin in CSS a meaning |
Opacity |
False |
If true, FancyBox can change transparency as the animation changes |
Modal |
False |
If true, the ' overlayshow ' will be set to ' true ', ' Hideonoverlayclick ', ' Hideoncontentclick ', ' Enableescapebutton ', ' Showclosebutton ' will be set to ' false ' |
Cyclic |
False |
If True, the album Loops |
Scrolling |
' Auto ' |
Sets the value of the overflow to create or hide the scroll bar, which can be set to ' auto ', ' yes ', or ' no ' |
Width |
560 |
Set the width of the IFRAME and SWF, and if ' autodimensions ' is ' false ', you can also set the width of normal text |
Height |
340 |
Set the height of the iframe and SWF, and if ' autodimensions ' is ' false ', you can also set the height of normal text |
Autoscale |
True |
If you can adapt the browser window size for True,fancybox |
Autodimensions |
True |
In inline text and Ajax, set whether the dimensions of the element are dynamically resized, and if true, make sure you have set the size of the element |
Centeronscroll |
False |
If true, FancyBox will stay in the browser center when you scroll the scroll bar |
Ajax |
{ } |
And jquery's Ajax invocation options.
Note: ' Error ' and ' success ' These two callback events will be overridden by FancyBox |
Swf |
{wmode: ' Transparent '} |
SWF Setup Options |
Hideonoverlayclick |
True |
If true, click the Mask layer to close FancyBox |
Hideoncontentclick |
False |
If true, click Playback to close FancyBox |
Overlayshow |
True |
If true, mask layer is displayed |
Overlayopacity |
0.3 |
Transparency of mask layer (range 0-1) |
Overlaycolor |
' #666 |
Background color of mask layer |
Titleshow |
True |
If true, the caption is displayed |
Titleposition |
' Outside ' |
Sets the location where the caption is displayed. Can be set to ' outside ', ' inside ' or ' over ' |
TitleFormat |
Null |
You can customize the format of headings |
Transitionin, Transitionout |
' Fade ' |
Sets the animation effect. can be set to ' elastic ', ' fade ' or ' none ' |
Speedin, Speedout |
300 |
Time interval, in milliseconds, between fade and elastic animation transitions
|
Changespeed |
300 |
The change time interval (that is, the rate of change) of the FancyBox dimension when switching, in milliseconds |
Changefade |
' Fast ' |
The time interval at which content fades (that is, the rate of change) when switching |
Easingin, Easingout |
' Swing ' |
Use easing for elastic animations |
Showclosebutton |
True |
If true, the Close button is displayed |
Shownavarrows |
True |
True to display the next navigation arrow on the previous slide |
Enableescapebutton |
True |
If true, enable ESC to close FancyBox |
OnStart |
Null |
callback function, loading content is triggered |
OnCancel |
Null |
callback function, triggering when content is canceled |
OnComplete |
Null |
callback function, triggering after loading content completes |
Oncleanup |
Null |
callback function, triggering before closing FancyBox |
Onclosed |
Null |
callback function, triggering after closing FancyBox |