I would like to make a modal window using prototype and scriptaculous. I was wondering if there is any site that has a tutorial or if anyone could kinda give me some idea where to start. (I don't want a prebuilt one)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
In addition to Control.Window, here are some others I have found:
- http://okonet.ru/projects/modalbox/index.html (very nice, and free)
- http://prototype-window.xilinus.com/download.html (looks pretty good)
- http://dzone.com/snippets/javascript-dialog-box-based (not packaged, just a code snippet)
- http://www.nickstakenburg.com/projects/lightview/ (slick! but not free)
More image oriented:
- http://www.huddletogether.com/projects/lightbox2/ (a classic!)
- http://www.doknowevil.net/litebox/