List Info

Thread: Re-use a loader or use multiple loader instances?




Re-use a loader or use multiple loader instances?
country flaguser name
United States
2008-03-28 20:15:19

I am trying to divide js files into various groups and load each group
on need-basis, so I only load the first group of js files on page load
and load additional js groups when the need arise. Have you tried
this? When I use a second instance of loader, it caused redundant
scripts loading and my attempt to reuse an existing instance of loader
caused a loader javascript error. I am using sandbox option. Any tips
on this is greatly appreciated.

Thanks,

David

__._,_.___
.

__,_._,___
Re: Re-use a loader or use multiple loader instances?
country flaguser name
United States
2008-03-28 20:33:37

Nervermind, I was able to reuse a single instance.

David
--- In ydn-javascript%40yahoogroups.com">ydn-javascriptyahoogroups.com, "David Lin" <vegdave...> wrote:
&gt;
> I am trying to divide js files into various groups and load each group
&gt; on need-basis, so I only load the first group of js files on page load
>; and load additional js groups when the need arise. Have you tried
&gt; this? When I use a second instance of loader, it caused redundant
> scripts loading and my attempt to reuse an existing instance of loader
&gt; caused a loader javascript error. I am using sandbox option. Any tips
>; on this is greatly appreciated.
>
> Thanks,
>
> David
&gt;

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )