C# Class Hexon.MvcTrig.FancyboxExtensions

Show file Open project: dinowang/MvcTrig

Public Methods

Method Description
FancyClose ( this trigger ) : TriggerContext

關閉目前視窗中的 fancybox

FancyOpen ( this trigger, string url, int width = null, int height = null ) : TriggerContext

開啟一個 fancybox

FancyOpen ( this trigger, string url, string width = null, string height = null ) : TriggerContext

開啟一個 fancybox

FancyResize ( this trigger, string width = null, string height = null ) : TriggerContext

變動 fancybox 規格

Method Details

FancyClose() public static method

關閉目前視窗中的 fancybox
public static FancyClose ( this trigger ) : TriggerContext
trigger this
return TriggerContext

FancyOpen() public static method

開啟一個 fancybox
public static FancyOpen ( this trigger, string url, int width = null, int height = null ) : TriggerContext
trigger this
url string
width int
height int
return TriggerContext

FancyOpen() public static method

開啟一個 fancybox
public static FancyOpen ( this trigger, string url, string width = null, string height = null ) : TriggerContext
trigger this
url string
width string
height string
return TriggerContext

FancyResize() public static method

變動 fancybox 規格
public static FancyResize ( this trigger, string width = null, string height = null ) : TriggerContext
trigger this
width string
height string
return TriggerContext