jQuery.Preload: http://flesler.blogspot.com/2008/01/jquerypreload.html
-- Ariel Flesler http://flesler.blogspot.com On 8 mayo, 21:34, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > You're not using jQuery .... > ? > Cherry > > On May 9, 12:34 am, all4one <[EMAIL PROTECTED]> wrote: > > > > > My images are loading too slow. I have 5. They are less that 50k each. > > Can I preload the first image and then load 2-5? > > > CODE: > > function loadBanner() > > { > > bC = bannerCount(); > > if (bC > 0) > > { > > sponsor = getCookie("bannerIndex", bC, 1); > > var banner = "\'banner" + sponsor + "\'"; > > var numberBar = "\'numberBar" + sponsor + "\'"; > > max = bC; > > MM_preloadImages(); > > setTimeout('MM_effectAppearFade(' + banner + ', 1000, 0, 100, false)', > > 1000); > > document.getElementById('banner' + sponsor).style.display='block'; > > if (document.getElementById('numberBar' + sponsor) != null) > > { > > setTimeout('document.getElementById("numberBar" + > > sponsor).style.display="block"',1); > > setTimeout('document.getElementById("numberBar").style.display="block"', > > 1); > > alertTimerId = setInterval('swapBanner2();',cycleTime); > > > } > > } > > }- Ocultar texto de la cita - > > - Mostrar texto de la cita -