I mean an amateurish question, please dont get me wrong on it

2008/10/16 jason maina <[EMAIL PROTECTED]>

> @Crowder:
> This kind of amateurish, how will the script announce itself?
> Kind of don't understand the concept
>
> 2008/10/16 T.J. Crowder <[EMAIL PROTECTED]>
>
>
>> > When the "script" element is inserted into the document body, does the
>> > currently-running script wait for the js file to be downloaded and
>> executed?
>>
>> You'll want to try it out on the browsers you're targeting, but I tend
>> to doubt it:  All the code inserting the tag is doing is inserting the
>> script element in the DOM, the browser does the rest and I'm guessing
>> does it on its own thread(s).  Probably best to have the script you're
>> loading announce itself to the script loading it when it loads.  Then
>> you know it's there.
>> --
>> T.J. Crowder
>> tj / crowder software / com
>>
>> On Oct 15, 8:08 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote:
>> > When the "script" element is inserted into the document body, does the
>> > currently-running script wait for the js file to be downloaded and
>> executed?
>> > Or does the js file download in the background while the current script
>> > finishes?
>> > -Hector
>> >
>> > 2008/10/15 buda <[EMAIL PROTECTED]>
>> >
>> >
>> >
>> >
>> >
>> > > tere is a beautifull script ENSURE - try it
>> >
>> > > On 15 окт, 14:16, "jason maina" <[EMAIL PROTECTED]> wrote:
>> > > > Hi,
>> >
>> > > > Is it possible to load script files only when they are needed.
>> > > > In the application im currently making there are too many script(js)
>> > > files
>> > > > loaded on the parent page yet in the entire life-cycle of the
>> application
>> > > > usage some tabs will not even be clicked hence the idea to only load
>> > > script
>> > > > files when needed.
>> >
>> > > > Thank you in advance.
>> >
>> > > > - Jason
>> >
>> > --
>> > -Hector
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to