Erik B. Ordway
2006-Jul-17 23:56 UTC
[Rails] Is there an example of using "Prototype Window Class'' with rails?
I feel like a bit of an idiot asking this but does anyone have an example of http://prototype-window.xilinus.com/index.html being used in rails. Should I try and feed it through page.call using rjh. Like this: page.call (''win = new Window("window_id", {className: "mac_os_x", title: "Sample", width:200, height:150});win.getContent().innerHTML = "<h1>Hello world !!</h1>";win.setDestroyOnClose();win.showCenter();'') I think I am missing something really obvious.