[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-18 Thread Daemach
I just verified that frameReady() works perfectly with dynamically created iframes, even in IE. On Apr 18, 1:47 pm, mdelmarter <[EMAIL PROTECTED]> wrote: > Hi Markus, > > Pretty much. Here is an example: > > function getIframe($id) > { > $length = top.frames.length; > > for (var i

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-18 Thread Daemach
This might help, though I haven't tested with a dynamic iframe. I'll take a look at that now... http://groups.google.com/group/jquery-en/browse_thread/thread/e1b2c367f354aead/# On Apr 18, 1:47 pm, mdelmarter <[EMAIL PROTECTED]> wrote: > Hi Markus, > > Pretty much. Here is an example: > > functi

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-18 Thread mdelmarter
Hi Markus, Pretty much. Here is an example: function getIframe($id) { $length = top.frames.length; for (var i=0; i < $length; i++) { if($.browser.msie) { $iframe = window.top.frames(i); } else { $ifr

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-18 Thread Markus Peter
On 17.04.2007, at 23:36, mdelmarter wrote: With regard to working with dynamically generated iframes - yes I have had issues in the past as well, but from memory it was related to the way I was referencing them. From example I think I was getting issues when trying to call functions in an ifram

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-17 Thread mdelmarter
Hi Markus, Thanks for taking the time to reply - good to get some feedback. I agree with most of your comments, and once would have felt the same as you did. The reality is that once I started using Ext which added a lot of weight to my JS and CSS, that I found the loading of iframes had a notica

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-17 Thread Jörn Zaefferer
mdelmarter schrieb: I thought people on this list may like to read about the techniques available, especially if they are using Ext like I am. I would also like to get some perspective on the "injection" concept by seeing what other developers think of it... Thanks for posting, gonna take a

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-17 Thread Markus Peter
On 17.04.2007, at 19:21, mdelmarter wrote: Hi all, I have been using Ext and jQuery for a few weeks now. One issue with this combination is the sheer volume of JavaScript and CSS that needs to be used. Because I am working with a large application I have been experiementing with different tec