Demo:
output:
说明:
Method | Param |
---|---|
Box.Alert | msg:string |
Box.Prompt | title:string,content:string,enterCallback:fuction,cancelCallback:function |
Box.Confirm | content:string,enterCallback:function,cancelCallback:function |
Box.shadowBox | html:string,image:url,iframe:url,width:number,height:number |
待完善:
- 没解决IE6下select问题,可以通过隐藏select或iframe的方式解决
- 目前只支持居中fixed