Hi Ariel,

a quick question: did you consider instead to use  the selector method
in order to line in the plugins to be lazy loaded?

for instance:

        <script class="lazy"
src="_js/jquery_plugins/jquery.metadata.1.0/jquery.metadata.js"
type="text/javascript"></script>
        <script class="lazy"
src="_js/jquery_plugins/livequery/1.0.2/jquery.livequery.min.js"
type="text/javascript"></script>
        <script class="lazy"
src="_js/jquery_plugins/jScrollPane/mousewheel.js"
type="text/javascript"></script>
        <script class="lazy"
src="_js/jquery_plugins/hoverIntent/jquery.hoverIntent.minified.js"
type="text/javascript"></script>
        <script class="lazy"
src="_js/jquery_plugins/color/jquery.color.js"
type="text/javascript"></script>
        <script class="lazy"
src="_js/jquery_plugins/jScrollPane/jScrollPane.js"
type="text/javascript"></script>
        <script class="lazy"
src="_js/jquery_plugins/jcarousel/jquery.jcarousel.pack.js"
type="text/javascript"></script>


and then

$('head script.lazy').lazyLoad(options) ?


i have no idea whether this is feasible or not, i'm just a UI designer
 :) , but if it could work like that, then i'd certainly use it.



On Wed, Mar 5, 2008 at 5:08 AM, Ariel Flesler <[EMAIL PROTECTED]> wrote:
>
>  I added a paste with an example, to show the syntax, I promise a real
>  demo soon :)
>
>  Link: http://flesler.pastebin.com/f3e105964
>
>  Ariel Flesler
>
>
>
>  On 5 mar, 00:44, Ariel Flesler <[EMAIL PROTECTED]> wrote:
>  > Hi,
>  >
>  >    First release of jQuery.Plugin, that's the name, it is used to lazy
>  > load plugins. The file is only fetched with the first call to the
>  > plugin.
>  >
>  > It's still a bit untested (I'd love some help). I have a small them
>  > that I used for my own testing, but it's not good enough to expose, so
>  > no demo for now.
>  >
>  > So.. it's not a demo what I'm asking to be tried, but the code in a
>  > real case. If you don't want or don't know how to help/test. You can
>  > just give me your opinion on the idea, and maybe something you'd like
>  > it to do.
>  >
>  > Project Page:http://plugins.jquery.com/project/Plugin
>  >
>  > Cheers
>  >
>  > Ariel Flesler
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com

Reply via email to