No More Fake Loaders: Create a Real Progress Indicator

  Рет қаралды 2,114

Web Bae

Web Bae

Күн бұрын

Пікірлер: 20
@tjk_9000
@tjk_9000 5 ай бұрын
this is awesome and easy to follow. great backup plan when the client wants to load a zillion photos on a page.
@webbae
@webbae 5 ай бұрын
glad you liked it - can be done for videos too!
@eli.alcaraz
@eli.alcaraz 5 ай бұрын
The fact that this is cloneable for us noobs who can’t code makes this the cherry on top.
@webbae
@webbae 5 ай бұрын
Glad you like it!
@elektrotwerk
@elektrotwerk 5 ай бұрын
Fake loaders are one of the most annoying things in web design. Thanks for the great vid!
@webbae
@webbae 5 ай бұрын
Haha I honestly am cool with them but they should be recognized for what they are: vanity showcase of animation skills and brand identity building lol. As such, we only need to display it to the user once and then move on with our CTA. ✅ Brand Identity
@GreenSockLearning
@GreenSockLearning 5 ай бұрын
Love that you posted this immediately after Cassie's webflow stream where we covered the animation side but didn't dig into the details of *how* to detect image load. Such perfect timing. Hero! kzbin.info/www/bejne/baK1lp5ofLGVeJo
@digitalshane_
@digitalshane_ 5 ай бұрын
Real loaders FTW! Love this video 🙌
@webbae
@webbae 5 ай бұрын
Thanks Shane - it's funny how fast it gets when local caching is enabled. I think a good addition would be issuing a cookie or using local storage to only show the loader once per week or something.
@michaellee509
@michaellee509 4 ай бұрын
Thanks for the tutorial! I have a PNG sequence of 45 images loading from Cloudinary into a element, which can take some time to load and is a main feature of the homepage. It doesn't appear though that the imagesLoaded library is including these images in the calculations. Is there something I missed or need to include for it to also include these images? Essentially the homepage takes significantly longer to load because of this PNG Sequence element and so I wanted an accurate page loader for the homepage specifically so that the loader would wipe away after the PNG sequence was loaded and there wouldn't be a time where nothing was showing up on the page. Any help here would be awesome!
@webbae
@webbae 4 ай бұрын
weird that imagesLoaded isn't seeing the images. How are you bringing them into ? Maybe you can share a code snippet in Discord? You could try waiting for the image .complete event with vanilla JS but my hunch is that if imagesLoaded is missing it then it's being brought into your project in a different way than the browser would recognize too! 🤷‍♂️ .complete event: developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement discord: discord.gg/F9mQ3C78
@michaellee509
@michaellee509 4 ай бұрын
@@webbae Thanks for the reply! I dropped a question in Discord, but the code snippet was too long and I had to make a Codepen for the code. Any help towards debugging is much appreciated!
@pablocortes682
@pablocortes682 5 ай бұрын
This was another great tutorial, thanks WebBae! I always wondered why every codrops tutorial code had this imagesLoaded library in them. Now it makes more sense. It also works for masonry layouts right? something to do with the browser calculating the size of images.
@webbae
@webbae 5 ай бұрын
hey Pablo this should work for all images, so yes, masonry layouts too. if you are using a JS library for masonry, it likely ships with some loading utilities (lazy loading?). Lazy loading might be something to watch out for, since Webflow does it by default! images and videos come with onload events by default, so you could do this in vanilla JS too and include video! The key is knowing your way around dev tools to understand how your website assets are loading since there are a lot of factors that go into it.
@mehdigolshan2587
@mehdigolshan2587 2 ай бұрын
Hello and thank you! Please leave the same training with JavaScript and jQuery and without Gsap.
@webbae
@webbae Ай бұрын
I have a whole course on Javascript in Patreon. It's project-based (inspired by paid client projects I've done) and uses Webflow - I think you might like it! www.patreon.com/collection/175938
@philbass1952
@philbass1952 5 ай бұрын
Instant like
@alexandrb1543
@alexandrb1543 5 ай бұрын
😮
@heatherliu6856
@heatherliu6856 5 ай бұрын
Need a blacklist of websites using fake loaders so I can never visit them again
@webbae
@webbae 5 ай бұрын
Parental control ON 💡
New Webflow App - Alt text in seconds with Asset Bae
4:04
Web Bae
Рет қаралды 1,9 М.
Why I won't switch to Framer (vs. Webflow)
18:25
Web Bae
Рет қаралды 7 М.
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН
World‘s Strongest Man VS Apple
01:00
Browney
Рет қаралды 63 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
CSS Subgrid Explained: Simplify Complex Layouts in 4 Steps
6:12
Award Winning Animation With Only 20 Lines Of CSS?
6:59
Hyperplexed
Рет қаралды 1,8 МЛН
Why Beautiful Websites Don’t Convert
12:57
Malewicz
Рет қаралды 186 М.
GPT for GSAP & Webflow
3:57
Timothy Ricks
Рет қаралды 8 М.
velvety variable font weight hover with gsap
9:38
Web Bae
Рет қаралды 4,2 М.
Top 2024 Web Design Trends
5:32
Codex Community
Рет қаралды 627 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 124 М.
Powerful CSS-only Page Transitions with View Transitions
9:59
13 Things To Remove From Your Website Immediately
12:33
Orbit Media Studios
Рет қаралды 323 М.
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН