Try replacing this line:
var $links = $('#artistsColumns a').attr('rel');

with:
var $links = [];
$.each($('#artistsColumns a'), function() {
     $links.push( $(this).attr('rel') );
});

$('#artistsColumns a').attr('rel'); only gives you one string value,
thus it will only preload one url.
I made it loop through the matching jQuery set and put all the rel
values into an array, which you use for preloading.

On Mar 24, 1:19 pm, Nic Hubbard <nnhubb...@gmail.com> wrote:
> Anyone?
>
> On Mar 23, 2:08 pm, Nic Hubbard <nnhubb...@gmail.com> wrote:
>
> > I seem to be having issues with getting link mode to work with Ariel
> > Flesler's preload plugin.  I have a hidden menu, which shows a hidden
> > div when you mouse over a nav item.  This then shows a list of names,
> > and I am using the preload plugin to load up a thumbnail image for
> > each of the names.  Currently, it does not seem to be preloading, as
> > running your mouse over each name takes a few seconds for the image to
> > load.  So, for some reason,  it seems like they are not getting
> > preloaded.
>
> > And ideas on why this would be?  Did I implement the plugin wrong for
> > link mode?
>
> > Code:
> > // ----- Artists Menu: Show Artist Preview Image -----
> >         var $links = $('#artistsColumns a').attr('rel');
> >         var $preview = $('#artist_menu_artwork');
>
> >         $.preload($links,
> >                 {
> >                         threshold: 2
>
> >                 }
> >         );
>
> >         $('#artistsColumns a').mouseover(function(){
> >                 $preview.attr('src', $(this).attr('rel'));
> >         });
>
> > Link:http://67.207.148.241/home
> > (Move your mouse over the "Artists" top nav)
>
>

Reply via email to