Call Preload Function
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7059587/preload-function">Preload Function</a>  </p>
</blockquote>



<p>that is my js code. <a href="https://github.com/nathansearles/Slides/blob/master/source/slides.js" rel="nofollow">https://github.com/nathansearles/Slides/blob/master/source/slides.js</a></p>

<pre><code>   preload : function() {
            $('.slidesContainer').css({
                backgroundImage: "url(img/loading.gif)",
                backgroundPosition: "50% 50%",
                backgroundRepeat: "no-repeat"
            });

            this._loadImage( this.slides.eq( this.options.startAtSlide - 1 ).attr("src") ).then( $.proxy(function( url ) {
          this.slidesControl.fadeIn( this.options.fade.interval );
            this._trigger( "loaded", this.options.startAtSlide, this );

        },this));
    },  
</code></pre>

<p>How I can use this code. I am call so $("#slides").slides("preload");. But If I am using $("#slides").slides(); before $("#slides").slides("preload"); that is works. How I can call only preload.? </p>

<p>Thanks..</p>
