search for: onready

Displaying 4 results from an estimated 4 matches for "onready".

Did you mean: olready
2007 Nov 08
1
Prototype 1.6 and Lowpro 0.5
If you''re using Lowpro 0.5 from the trunk, you''ll need to append this to fix the broken Event.onReady method: Object.extend(Event, { onReady : function(f) { document.observe(''dom:loaded'', f); } }); Basically "contentloaded" changed to "dom:loaded" between rc0 and rc1. Just spent all morning working this out, hopefully it will save someone else some ti...
2011 Apr 14
1
a little problem with extJS & log in form
...40, closable:false, minWidth: 300, minHeight: 140, layout: ''fit'', id: ''userform'', plain:true, modal:true, bodyStyle:''padding:5px;'', items: userform }); Ext.onReady(function(){ loginWindow.show(this); }); login page <script type="text/javascript" src="/ext/adapter/ext/ext- base.js"></script> <script type="text/javascript" src="/ext/ext-all.js"></script> <script type=...
2006 May 12
7
RJS and page.select collection size
I need to implement a conditional in my RJS template which looks something like: if (page.select(''row1'').first != null) page << "new TableRow.MoveAfter(''row1'', ''newrow'');" else page << "new TableRow.MoveAfter(''row2'', ''newrow'');" end Now, dumb question.. My
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a string to that element? e.g., var sDocument = ''<html><head></head><body>Hello world.</body></html>''; I''ve tried several variations of appendChild, innerHTML, document.innerHTML, createTextNode. Argh! _______________________________________________