tag:blogger.com,1999:blog-8640596986273216089.post6777262867739528754..comments2023-08-15T06:10:51.086-03:00Comments on Ariel Flesler: jQuery.PreloadAriel Fleslerhttp://www.blogger.com/profile/17700414222186772120noreply@blogger.comBlogger143125tag:blogger.com,1999:blog-8640596986273216089.post-86305805614816464142011-07-06T11:39:31.028-03:002011-07-06T11:39:31.028-03:00Although this hasn't been updated in years, I ...Although this hasn't been updated in years, I believe I found a fix for the Chrome issue mentioned by Anonymous March 9, 2009. It is that the .load function is not triggering in Chrome for images that are already cached (a recognized problem with .load), such as if you are loading the image more than once per page. The fix is simply to put this conditional at line 123 after "img.src = sources[data.next++];":<br /><br />if (img.complete || (jQuery.browser.msie && parseInt(jQuery.browser.version) == 6)){<br /> $(img).trigger("load");<br />}Benhttps://www.blogger.com/profile/08665840592319456639noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-21433760686848018282010-12-07T12:31:02.059-03:002010-12-07T12:31:02.059-03:00Hi,
how can i fadeIn each loaded image?
this is w...Hi, <br />how can i fadeIn each loaded image?<br />this is what i use for:<br /><br /> $('#masonry img').preload({<br /> threshold: 3,<br /> onComplete: function(data){<br />$('whic_image_to_fadeIn???').fadeIn('slow'); }<br /> });<br /><br />what should be instead of:<br />'whic_image_to_fadeIn???'<br /><br />thanks for your help and for great scriptsUnknownhttps://www.blogger.com/profile/01777859877182352269noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-80351406100126339202010-11-01T15:21:15.446-03:002010-11-01T15:21:15.446-03:00This could really use iterations in the callbacks....This could really use iterations in the callbacks.<br /><br />Or maybe they are there and im just kinda dumb.inspiracion_ajena@hotmail.comhttps://www.blogger.com/profile/16944997424488310032noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-11477478554498285112010-10-05T16:57:01.842-03:002010-10-05T16:57:01.842-03:00Hey Ariel,
Good job.
Is it possible to preload ....Hey Ariel,<br /><br />Good job.<br /><br />Is it possible to preload .mov files with your plugin?<br /><br />Best,<br /><br />Alexander C.Unknownhttps://www.blogger.com/profile/09347798932327809495noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-50658173702382219122010-09-07T20:02:51.691-03:002010-09-07T20:02:51.691-03:00This script is great! Thank you!
I know that the ...This script is great! Thank you!<br /><br />I know that the hover portion of your demo (below) isn't the primary function of your script (since it's actually different code that runs the roll-over effect).<br /><br />http://demos.flesler.com/jquery/preload/rollover/<br /><br />But I was wondering how you would modify the roll-over script using the img element with different src attributes to work like these:<br /><br />http://bavotasan.com/tutorials/creating-a-jquery-mouseover-fade-effect/<br /><br />http://greg-j.com/static-content/hover-fade-redux.htmlUnknownhttps://www.blogger.com/profile/06873218333211091314noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-77015453815984911642010-08-17T05:01:48.445-03:002010-08-17T05:01:48.445-03:00Hey, you can check out a great jQuery Preloader th...Hey, you can check out a great jQuery Preloader that I wrote with full callbacks, auto reading of images to preload, and a lot of easing in animations. Check it out here: <a href="http://www.edwardhotchkiss.com/blog/jquery-javascript-preloader/" title="jQuery Preloader" rel="nofollow">jQuery Preloader</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-72396884128573398732010-08-08T21:31:35.605-03:002010-08-08T21:31:35.605-03:00Thank you, Ariel!Thank you, Ariel!Unknownhttps://www.blogger.com/profile/02283587004697224723noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-22746293313642401812010-03-04T13:42:54.372-03:002010-03-04T13:42:54.372-03:00Do you have a example code for the finish callback...Do you have a example code for the finish callback?BroOfhttps://www.blogger.com/profile/06784853309120880187noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-421793590485250372010-01-31T16:36:07.173-03:002010-01-31T16:36:07.173-03:00I have a problem with Firefox and even Cuzog's...I have a problem with Firefox and even Cuzog's solution doesn't seem to help. The website I'm working on is at http://www.infotop.rs/devel/. Once you are done with the intro, there are two slideshow-like animations that are supposed to preload images. Preloading works in Chrome, IE and Opera, but not in Firefox. I'm using Firefox 3.5.7 on Windows.<br /><br />Any ideas?Nameless Onehttps://www.blogger.com/profile/10663895301565750319noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-56886049998117925592010-01-26T09:09:39.732-03:002010-01-26T09:09:39.732-03:00Hi,
I need to change the body backgroud image on a...Hi,<br />I need to change the body backgroud image on an href click. What should I do to preload those images properly with your tool and set tham as new body background in a second time?<br />I'm not that confident with JavaScript, I've Just tried this way (but it seams to me it did not work):<br /><br />jQuery(function( $ ){ <br /> var urls = [ 'pisa' , 'roma' , 'milano' , 'venezia' , 'firenze' ];<br /> $.preload( urls, {<br /> base:'imgs/',<br /> ext:'.gif'<br /> });<br />});<br /><br />Should I append those images to a div and use divs instead of body background?<br /><br />Here is my test.<br />http://www.discacciatipietro.com/tests/memini/<br /><br />Thank you so!<br />P.bonzodesehttps://www.blogger.com/profile/08186438102297200880noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-29515315552696411872009-12-28T01:18:17.272-03:002009-12-28T01:18:17.272-03:00FYI, I've found that if there are duplicate li...FYI, I've found that if there are duplicate links, line 119:<i><br />( data.next == data.total )</i> never evaluates to true and the OnFinish callback is never called. I don't understand enough to know if it's benign or not but I thought you might be interested in this edge case.<br /><br />Thanks for the plugin.idonoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-79381427509343889702009-12-01T14:43:44.991-03:002009-12-01T14:43:44.991-03:00Hi Ariel,
Thanks for the great plugin.
I am using...Hi Ariel,<br /><br />Thanks for the great plugin.<br />I am using it in link mode and somehow the first image does not appear when arriving to a page. All the images appear on mouseover...<br />I am in FF 3.5.2 Any clues?<br />TIACharliezhttps://www.blogger.com/profile/12142257394936789502noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-8718901461800628402009-11-03T16:54:19.622-03:002009-11-03T16:54:19.622-03:00Thanks! :DThanks! :DAriel Fleslerhttps://www.blogger.com/profile/17700414222186772120noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-23316172196548757912009-11-03T14:47:28.896-03:002009-11-03T14:47:28.896-03:00You are awesome, thanks for the plugins!You are awesome, thanks for the plugins!Sequoiahttps://www.blogger.com/profile/07717377035919512181noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-10195579460678136652009-10-28T21:05:41.128-03:002009-10-28T21:05:41.128-03:00@ZeB
Thanks a bunch for helping :)@ZeB<br />Thanks a bunch for helping :)Ariel Fleslerhttps://www.blogger.com/profile/17700414222186772120noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-12299088680295103532009-10-22T09:35:18.526-03:002009-10-22T09:35:18.526-03:00Ok thanks ZeB for your help.Ok thanks ZeB for your help.Sokranupheapnoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-56627691498801290102009-10-22T05:32:15.662-03:002009-10-22T05:32:15.662-03:00Ok, so use the event "onFinish" to solve...Ok, so use the event "onFinish" to solve your problem.<br />Then, when all images are fully preloaded, start your slideshow.<br /><br />(tons of free hostings exist, you better take one to test your script in real conditions)Sebhttps://www.blogger.com/profile/05805090063718210923noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-42745502386864250302009-10-22T05:25:43.616-03:002009-10-22T05:25:43.616-03:00Oh, sorry ZeB i didn't have the Hosting to sho...Oh, sorry ZeB i didn't have the Hosting to show you a demo. my objective is to do a slide show with slide transition effect. but when i click next image while preload processing it's quite slow that it make my CPU performance process almost 100% until the preload finish.Sokranupheapnoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-31146120773770074302009-10-22T05:02:37.083-03:002009-10-22T05:02:37.083-03:00@Sokranupheap
Well, this is not a slideshow proce...@Sokranupheap<br /><br />Well, this is not a slideshow process, so i never had to stop, pause or restart it...<br /><br />Ariel, as the creator of this plug-in, will be more helpful than me in your case. Still, post a link to a demo : it would help us to understand your problem.Sebhttps://www.blogger.com/profile/05805090063718210923noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-46653116567298558362009-10-22T04:39:32.072-03:002009-10-22T04:39:32.072-03:00Hi ZeB, i have one more question how do i stop and...Hi ZeB, i have one more question how do i stop and restart the preload process?<br />thanks for your help.Sokranupheapnoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-33771623642952909622009-10-16T05:21:57.817-03:002009-10-16T05:21:57.817-03:00@Sokranupheap
Ok, i just tested on Windows Seven w...@Sokranupheap<br />Ok, i just tested on Windows Seven with Safari 4. And still no problem, my implementation of jQuery.Preload works perfectly.<br /><br />So, two things :<br />- activate the develop menu in Safari (u can activate it in preferences > advanced, and then find it in menus) to check javascript errors or activity.<br />- post a link to your project or demo, and then we could maybe help you better.<br /><br />Cheers ;)Sebhttps://www.blogger.com/profile/05805090063718210923noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-10100333352329004072009-10-16T00:52:09.778-03:002009-10-16T00:52:09.778-03:00Hi Zeb, yeah but i use the Safari 4 on windows vis...Hi Zeb, yeah but i use the Safari 4 on windows vista os. and it's difficult to bug it. so have anyone help me?Sokranupheapnoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-69521940092114449802009-10-15T12:42:23.397-03:002009-10-15T12:42:23.397-03:00@Sokranupheap
Preload works for me on Safari 4 (a...@Sokranupheap<br /><br />Preload works for me on Safari 4 (at least on Mac Léopard).Sebhttps://www.blogger.com/profile/05805090063718210923noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-16832167755529134242009-10-15T12:27:47.077-03:002009-10-15T12:27:47.077-03:00Hi ariel, i just test it on Safari 4 the preload i...Hi ariel, i just test it on Safari 4 the preload is not working. so do you have any idea?Sokranupheapnoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-17241044979169851042009-10-13T09:36:38.957-03:002009-10-13T09:36:38.957-03:00Hi
Ping me by email with a demo and I'll check...Hi<br />Ping me by email with a demo and I'll check.Ariel Fleslerhttps://www.blogger.com/profile/17700414222186772120noreply@blogger.com