TIWCGJQFancyBoxOptions Class

The FancyBox class options

Namespace: IWCGJQFancyBox
TCGIndexedCollectionItem
  IWCGJQCommon.TIWCGJSon
    IWCGJQFancyBox.TIWCGJQFancyBoxOptions
type
 TIWCGJQFancyBoxOptions = class(TIWCGJSon)
 end;

The TIWCGJQFancyBoxOptions type exposes the following members.

Show:
 NameDescription
Create(TCollection)

Initializes a new instance of the TIWCGJSon class. (Inherited from TIWCGJSon.)

CreateSingle(TPersistent,string)

Initializes a new instance of the TIWCGJSon class. (Inherited from TIWCGJSon.)

Top
Show:
 NameDescription
Ajax

Ajax options Note: 'error' and 'success' will be overwritten by FancyBox

AutoDimensions

For inline and ajax views, resizes the view to the element recieves. Make sure it has dimensions otherwise this will give unexpected results

AutoScale

If true, FancyBox is scaled to fit in viewport

CenterOnScroll

When true, FancyBox is centered while scrolling page

CGJSContainer

Represents property CGJSContainer. (Inherited from TIWCGJSon.)

ChangeFade

Speed of the content fading while changing gallery items

ChangeSpeed

Speed of resizing when changing gallery items, in milliseconds

ClassData

Represents property ClassData. (Inherited from TIWCGJSon.)

Content

Forces content (can be any html data)

Cyclic

When true, galleries will be cyclic, allowing you to keep pressing next/back.

EasingIn

Easing used for elastic animations

EasingOut

Easing used for elastic animations

Enable

Disables (false) or enables (true) the FancyBox.

EnableEscapeButton

Toggle if pressing Esc button closes FancyBox

FancyBox

Represents property FancyBox.

Height

Height for content types 'iframe' and 'swf'. Also set for inline content if 'autoDimensions' is set to 'false'

HideOnContentClick

Toggle if clicking the content should close FancyBox

HideOnOverlayClick

Toggle if clicking the overlay should close FancyBox

Href

Forces content source

InstList

Represents property InstList. (Inherited from TIWCGJSon.)

IsStored

Represents property IsStored. (Inherited from TIWCGJSon.)

JSon

Return the Interface of SuperObject (ISuperObject) (Inherited from TIWCGJSon.)

JSonEvents[string]

Represents property JSonEvents[string]. (Inherited from TIWCGJSon.)

List

Represents property List. (Inherited from TIWCGJSon.)

Margin

Space between viewport and FancyBox wrapper

MemberList

Represents property MemberList. (Inherited from TIWCGJSon.)

Modal

When true, 'overlayShow' is set to 'true' and 'hideOnOverlayClick', 'hideOnContentClick', 'enableEscapeButton', 'showCloseButton' are set to 'false'

OnCancel

Will be called after loading is canceled

OnCleanup

Will be called just before closing

OnClosed

Will be called once FancyBox is closed

OnComplete

Will be called once the content is displayed

OnStart

Will be called right before attempting to load the content

Opacity

When true, transparency of content is changed for elastic transitions

OverlayColor

Color of the overlay

OverlayOpacity

Opacity of the overlay (from 0 to 1; default - 0.3)

OverlayShow

Toggle overlay

Owner

Represents property Owner. (Inherited from TIWCGJSon.)

Padding

Space between FancyBox wrapper and content

PropCount

Represents property PropCount. (Inherited from TIWCGJSon.)

PropIndexByName[string]

Represents property PropIndexByName[string]. (Inherited from TIWCGJSon.)

PropList

Represents property PropList. (Inherited from TIWCGJSon.)

PropName

Represents property PropName. (Inherited from TIWCGJSon.)

PropNameByIndex[Integer]

Represents property PropNameByIndex[Integer]. (Inherited from TIWCGJSon.)

Scrolling

Set the overflow CSS property to create or hide scrollbars. Can be set to 'auto', 'yes', or 'no'

ShowCloseButton

Toggle close button

ShowNavArrows

Toggle navigation arrows

SObj

Represents property SObj. (Inherited from TIWCGJSon.)

SpeedIn

Speed of the fade and elastic transitions, in milliseconds

SpeedOut

Speed of the fade and elastic transitions, in milliseconds

SWF

Params to put on the swf object

Title

Forces title

TitleFormat

Callback to customize title area. You can set any html - custom image counter or even custom navigation

TitlePosition

The position of title. Can be set to 'outside', 'inside' or 'over'

TitleShow

Toggle title

TransitionIn

The transition type. Can be set to 'elastic', 'fade' or 'none'

TransitionOut

The transition type. Can be set to 'elastic', 'fade' or 'none'

Type_

Forces content type. Can be set to 'image', 'ajax', 'iframe', 'swf' or 'inline'

Width

Width for content types 'iframe' and 'swf'. Also set for inline content if 'autoDimensions' is set to 'false'

Top
Show:
 NameDescription
AddBooleanMember(string,Boolean,Boolean,Boolean)

Represents method AddBooleanMember(string,Boolean,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddColorMember(string,TIWCGColor,Boolean,Boolean)

Represents method AddColorMember(string,TIWCGColor,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddCurrencyMember(string,Currency,Boolean,Boolean)

Represents method AddCurrencyMember(string,Currency,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddDoubleMember(string,Double,Boolean,Boolean)

Represents method AddDoubleMember(string,Double,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddDynObjListMember(string,Boolean,Boolean)

Represents method AddDynObjListMember(string,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddEnumMember(string,string[],Byte,Boolean,Boolean)

Represents method AddEnumMember(string,string[],Byte,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddEnumSetMember(string,string[],Void,Word,Boolean,Boolean)

Represents method AddEnumSetMember(string,string[],Void,Word,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddFuncMember(string,string,string,Boolean,TIWCGJSonFuncClass,Boolean,Boolean)

Represents method AddFuncMember(string,string,string,Boolean,TIWCGJSonFuncClass,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddHTML5(TIWHTMLTag)

Represents method AddHTML5(TIWHTMLTag). (Inherited from TIWCGJSon.)

AddIntegerMember(string,Integer,Boolean,Boolean)

Represents method AddIntegerMember(string,Integer,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddJSonMember(string,TCGJSon,Boolean,Boolean)

Represents method AddJSonMember(string,TCGJSon,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddMembers

The procedure add jquery properties.

Notes to Inheritors

Override this procedure to add jquery plugin options.

 (Overrides TIWCGJSon.AddMembers.)
AddObjListMember(string,TIWCGJSonListClass,Boolean,Boolean,Boolean)

Represents method AddObjListMember(string,TIWCGJSonListClass,Boolean,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddObjMember(string,TIWCGJSonClass,Boolean,Boolean,Boolean)

Represents method AddObjMember(string,TIWCGJSonClass,Boolean,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddSimpleArrayMember(string,Boolean,Boolean,Boolean)

Represents method AddSimpleArrayMember(string,Boolean,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddStringMember(string,string,Boolean,Boolean)

Represents method AddStringMember(string,string,Boolean,Boolean). (Inherited from TIWCGJSon.)

AddVariantMember(string,Variant,Boolean,Boolean)

Represents method AddVariantMember(string,Variant,Boolean,Boolean). (Inherited from TIWCGJSon.)

AfterConstruction

Represents method AfterConstruction. (Inherited from TIWCGJSon.)

Assign(TPersistent)

Represents method Assign(TPersistent). (Inherited from TIWCGJSon.)

Cancel

Cancels loading content

Center

Centers FancyBox in viewport

CheckJSonMember(Integer)

Represents method CheckJSonMember(Integer). (Inherited from TIWCGJSon.)

Close

Hides FancyBox

ConvertEnumToString(string)

Represents method ConvertEnumToString(string). (Inherited from TIWCGJSon.)

ConvertSetToString(string,TCGStringArray)

Represents method ConvertSetToString(string,TCGStringArray). (Inherited from TIWCGJSon.)

FreeJSonObj(Integer)

Overloaded. Represents method FreeJSonObj(Integer). (Inherited from TIWCGJSon.)

FreeJSonObj(string)

Overloaded. Represents method FreeJSonObj(string). (Inherited from TIWCGJSon.)

GetBooleanValue(Integer)

Represents method GetBooleanValue(Integer). (Inherited from TIWCGJSon.)

GetCGJSContainer

Represents method GetCGJSContainer. (Inherited from TIWCGJSon.)

GetColorValue(Integer)

Represents method GetColorValue(Integer). (Inherited from TIWCGJSon.)

GetCurrencyValue(Integer)

Represents method GetCurrencyValue(Integer). (Inherited from TIWCGJSon.)

GetCustomJq(string,ISuperObject)

Represents method GetCustomJq(string,ISuperObject). (Overrides TIWCGJSon.GetCustomJq(string,ISuperObject).)

GetDoubleValue(Integer)

Represents method GetDoubleValue(Integer). (Inherited from TIWCGJSon.)

GetDynObjListValue(Integer)

Represents method GetDynObjListValue(Integer). (Inherited from TIWCGJSon.)

GetEnumAsString(Integer)

Represents method GetEnumAsString(Integer). (Inherited from TIWCGJSon.)

GetEnumerValue(Integer)

Represents method GetEnumerValue(Integer). (Inherited from TIWCGJSon.)

GetEnumSetValue(Integer,Pointer)

Represents method GetEnumSetValue(Integer,Pointer). (Inherited from TIWCGJSon.)

GetFixedScript(TIWCGJSonFunc,Boolean)

Represents method GetFixedScript(TIWCGJSonFunc,Boolean). (Inherited from TIWCGJSon.)

GetFuncValue(Integer)

Represents method GetFuncValue(Integer). (Inherited from TIWCGJSon.)

GetHTMLName

Represents method GetHTMLName. (Inherited from TIWCGJSon.)

GetImplComponent

Represents method GetImplComponent. (Inherited from TIWCGJSon.)

GetIntegerValue(Integer)

Represents method GetIntegerValue(Integer). (Inherited from TIWCGJSon.)

GetIsStored

Represents method GetIsStored. (Inherited from TIWCGJSon.)

GetItemIndex

Represents method GetItemIndex. (Inherited from TIWCGJSon.)

GetIWCLName

Represents method GetIWCLName. (Inherited from TIWCGJSon.)

GetJSon

Represents method GetJSon. (Inherited from TIWCGJSon.)

GetJSonByType(Boolean,Boolean)

Represents method GetJSonByType(Boolean,Boolean). (Inherited from TIWCGJSon.)

GetJSonEx(Boolean,Boolean,TIWCGResponseMemberList,Boolean)

Represents method GetJSonEx(Boolean,Boolean,TIWCGResponseMemberList,Boolean). (Inherited from TIWCGJSon.)

GetJSonValue(Integer)

Represents method GetJSonValue(Integer). (Inherited from TIWCGJSon.)

GetJSonValueObj(Integer)

Represents method GetJSonValueObj(Integer). (Inherited from TIWCGJSon.)

GetJsPrefix

Represents method GetJsPrefix.

GetMemberJSon(TCGJSonMember,ISuperObject,Boolean,Boolean,string)

Represents method GetMemberJSon(TCGJSonMember,ISuperObject,Boolean,Boolean,string). (Inherited from TIWCGJSon.)

GetMemberSetterHandler(TObject,TCGJSonMember)

Represents method GetMemberSetterHandler(TObject,TCGJSonMember). (Inherited from TIWCGJSon.)

GetMemberSetterScriptParts(TIWCGResponseMemberList,TIWCGJScript)

Represents method GetMemberSetterScriptParts(TIWCGResponseMemberList,TIWCGJScript). (Inherited from TIWCGJSon.)

GetMembersJSon(TIWCGResponseMemberList,Boolean,Boolean)

Represents method GetMembersJSon(TIWCGResponseMemberList,Boolean,Boolean). (Inherited from TIWCGJSon.)

GetObjListValue(Integer)

Represents method GetObjListValue(Integer). (Inherited from TIWCGJSon.)

GetObjValue(Integer)

Represents method GetObjValue(Integer). (Inherited from TIWCGJSon.)

GetOwner

Represents method GetOwner. (Inherited from TIWCGJSon.)

GetPropName

Represents method GetPropName. (Inherited from TIWCGJSon.)

GetSimpleArrayValue(Integer)

Represents method GetSimpleArrayValue(Integer). (Inherited from TIWCGJSon.)

GetStringValue(Integer)

Represents method GetStringValue(Integer). (Inherited from TIWCGJSon.)

GetVariantValue(Integer)

Represents method GetVariantValue(Integer). (Inherited from TIWCGJSon.)

HideActivity

Hides loading animation

InternalGetJSon(TEachPropJSonProc,Boolean,Boolean,Void,Boolean,Boolean,TIWCGResponseMemberList,Boolean)

Represents method InternalGetJSon(TEachPropJSonProc,Boolean,Boolean,Void,Boolean,Boolean,TIWCGResponseMemberList,Boolean). (Inherited from TIWCGJSon.)

IsArray

Represents method IsArray. (Inherited from TIWCGJSon.)

IsBooleanStored(Integer)

Represents method IsBooleanStored(Integer). (Inherited from TIWCGJSon.)

IsColorStored(Integer)

Represents method IsColorStored(Integer). (Inherited from TIWCGJSon.)

IsCurrencyStored(Integer)

Represents method IsCurrencyStored(Integer). (Inherited from TIWCGJSon.)

IsDoubleStored(Integer)

Represents method IsDoubleStored(Integer). (Inherited from TIWCGJSon.)

IsEnumerStored(Integer)

Represents method IsEnumerStored(Integer). (Inherited from TIWCGJSon.)

IsEnumSetStored(Integer)

Represents method IsEnumSetStored(Integer). (Inherited from TIWCGJSon.)

IsFuncStored(Integer)

Represents method IsFuncStored(Integer). (Inherited from TIWCGJSon.)

IsIntegerStored(Integer)

Represents method IsIntegerStored(Integer). (Inherited from TIWCGJSon.)

IsJSonObjStored(string)

Represents method IsJSonObjStored(string). (Inherited from TIWCGJSon.)

IsJSonStored(Integer)

Represents method IsJSonStored(Integer). (Inherited from TIWCGJSon.)

IsObjStored(Integer)

Represents method IsObjStored(Integer). (Inherited from TIWCGJSon.)

IsStringStored(Integer)

Represents method IsStringStored(Integer). (Inherited from TIWCGJSon.)

IsVariantStored(Integer)

Represents method IsVariantStored(Integer). (Inherited from TIWCGJSon.)

jsCancel

Returns the JavaScript code to Cancel

jsCenter

Returns the JavaScript code to Center

jsClose

Returns the JavaScript code to Close

jsHideActivity

Returns the JavaScript code to HideActivity

jsNext

Returns the JavaScript code to HideActivity

JSonEscape

Represents method JSonEscape. (Inherited from TIWCGJSon.)

JSonIdent

Represents method JSonIdent. (Inherited from TIWCGJSon.)

JSonNameQuote

Represents method JSonNameQuote. (Inherited from TIWCGJSon.)

jsPos(Integer)

Returns the JavaScript code to Pos

jsPrev

Returns the JavaScript code to Prev

jsResize

Returns the JavaScript code to Resize

jsShowActivity

Returns the JavaScript code to ShowActivity

Next

Displays the next gallery item

Pos(Integer)

Displays item by index from gallery

Prev

Displays the previous gallery item

ResetProps

Represents method ResetProps. (Inherited from TIWCGJSon.)

Resize

Auto-resizes FancyBox height to match height of content

SetBooleanValue(Integer,Boolean)

Represents method SetBooleanValue(Integer,Boolean). (Inherited from TIWCGJSon.)

SetColorValue(Integer,TIWCGColor)

Represents method SetColorValue(Integer,TIWCGColor). (Inherited from TIWCGJSon.)

SetCurrencyValue(Integer,Currency)

Represents method SetCurrencyValue(Integer,Currency). (Inherited from TIWCGJSon.)

SetDoubleValue(Integer,Double)

Represents method SetDoubleValue(Integer,Double). (Inherited from TIWCGJSon.)

SetDynObjListValue(Integer,TIWCGJSonDynObjList)

Represents method SetDynObjListValue(Integer,TIWCGJSonDynObjList). (Inherited from TIWCGJSon.)

SetEnumerValue(Integer,Byte)

Represents method SetEnumerValue(Integer,Byte). (Inherited from TIWCGJSon.)

SetEnumSetValue(Integer,Pointer)

Represents method SetEnumSetValue(Integer,Pointer). (Inherited from TIWCGJSon.)

SetFuncValue(Integer,TIWCGJSonFunc)

Represents method SetFuncValue(Integer,TIWCGJSonFunc). (Inherited from TIWCGJSon.)

SetIntegerValue(Integer,Integer)

Represents method SetIntegerValue(Integer,Integer). (Inherited from TIWCGJSon.)

SetJSonValue(Integer,TCGJSon)

Represents method SetJSonValue(Integer,TCGJSon). (Inherited from TIWCGJSon.)

SetObjListValue(Integer,TIWCGJSonList)

Represents method SetObjListValue(Integer,TIWCGJSonList). (Inherited from TIWCGJSon.)

SetObjValue(Integer,TIWCGJSon)

Represents method SetObjValue(Integer,TIWCGJSon). (Inherited from TIWCGJSon.)

SetSimpleArrayValue(Integer,TIWCGJSonSimpleArray)

Represents method SetSimpleArrayValue(Integer,TIWCGJSonSimpleArray). (Inherited from TIWCGJSon.)

SetStringValue(Integer,string)

Represents method SetStringValue(Integer,string). (Inherited from TIWCGJSon.)

SetVariantValue(Integer,Variant)

Represents method SetVariantValue(Integer,Variant). (Inherited from TIWCGJSon.)

Show(Integer)

Show fancybox

ShowActivity

Shows loading animation

StoreProperty(PPropInfo,TObject)

Represents method StoreProperty(PPropInfo,TObject). (Inherited from TIWCGJSon.)

SupportsSetter(TObject,TCGJSonMember)

Represents method SupportsSetter(TObject,TCGJSonMember). (Inherited from TIWCGJSon.)

Top
Show:
 NameDescription
_Events_

Represents property _Events_. (Inherited from TIWCGJSon.)

Top