开发者

Using Facebox as a Confirm()?

i would like to make a modal-confirm that acts like an 开发者_StackOverflow中文版confirm() but looks nicer :)

im using Facebox for other things right now and would like my confirms to have the same design

http://defunkt.github.com/facebox/

Is it possible to do this in some way?


Yes, that would be simple. Just put two html buttons in and when they are clicked call the facebox.close method. The only issue is that it will not be straight forward to keep the popup open if the user clicks outside the box. It will close. Maybe you can consider that a cancel event?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜