成果:
目的:
实现一个弹出窗口, 里面包含留言表格
工具:
小结:
prototype windows 提供了很多类型的窗口模式,在他的网站有各种窗口的演示。
目的:
实现一个弹出窗口, 里面包含留言表格
工具:
- prototype windows
java 代码
- function c(){
- console.info("in show");
- //debugger;
- win = new Window({className: "mac_os_x", title: "Sample", width:200, height:150, destroyOnClose: true});
- win.getContent().update('<form> subject:<br> <input type="text" name="subject"><br> comment:<br> <textarea name="comment" rows="5" cols="18"></textarea><br> <input type="submit"> </form>' );
- win.showCenter();
- }
小结:
prototype windows 提供了很多类型的窗口模式,在他的网站有各种窗口的演示。