简体   繁体   English

Javascript加载器

[英]Javascript loader

I have an image carousel on my page with some fairly small images. 我的页面上有一个图像轮播,其中包含一些相当小的图像。 the issue is not with the images but with the script itself. 问题不在于图像,而在于脚本本身。 I want to display a javascript loader image while the entire plugin is loaded and is ready for action. 我想在加载整个插件并准备采取行动时显示javascript加载器图像。

when i launch the page, the carousel <li> first display like a normal list, then get formed into the carousel. 当我启动页面时,轮播<li>首先显示为正常列表,然后形成轮播。 i want to avoid that and display a loader image while the entire thing is loaded. 我想避免这种情况,并在加载整个东西时显示加载器图像。

try this image loader or you can find more image loaders in the internet, you can run image loader indipendently from what page containing. 尝试使用图像加载器,或者您可以在互联网上找到更多图像加载器,则可以从包含该页面的页面中单独运行图像加载器。 so it is not a part of carousel. 因此它不是旋转木马的一部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM