[jQuery] jQuery.preload - Getting Link Mode To Work
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)