Preload

授权协议 未知
开发语言
所属分类 jQuery 插件、 其他jQuery插件
软件类型 开源软件
地区 不详
投 递 者 朱兴运
操作系统 未知
开源组织
适用人群 未知
 软件概览

Note: Patched a bug of Safari 2, and 2 other bugs of IE, please upgrade to 1.0.7.

This is an advanced multi-functional preloader, that has 4(actually 5) modes integrated.
Each mode suits a different, common situation.
The modes are:

  •  URL: Preload a JS array of static URLs.
  •  Rollover: Preload based on DOM images, slightly modifying their src.
     Can be used for rollovers, or for image-thumb.
  •  Placeholder : Take regular images and set a placeholder image while they load. Show each original image when fully loaded. Allows sequential loading with a threshold.
  •  Link: Preload the images that appear in the href of the given links.

The plugin also provides 3 callbacks to interact with the image URLs during the preloading process. All the callbacks get a hash of data, with details of the related image and global information.

Please check the Homepage for full documentation.
Also, check the demos to see the different calls according to the mode.

  • LD_PRELOAD,是个环境变量,用于动态库的加载,动态库加载的优先级最高,一般情况下,其加载顺序为LD_PRELOAD > LD_LIBRARY_PATH > /etc/ld.so.cache > /lib>/usr/lib。程序中我们经常要调用一些外部库的函数,以rand为例,如果我们有个自定义的rand函数,把它编译成动态库后,通过LD_PRELOAD加载,当程序中调用rand函数时,调用

  • 使用 Electron 很重要的一点是要理解 Electron 不是一个 Web 浏览器。 它允许您使用熟悉的 Web 技术构建功能丰富的桌面应用程序,但是您的代码具有更强大的功能。 JavaScript 可以访问文件系统,用户 shell 等。 这允许您构建更高质量的本机应用程序,但是内在的安全风险会随着授予您的代码的额外权力而增加。 事实上,最流行的 Electron 应用程序(Atom,Sl

  • Using Preload Scripts Learning goals In this part of the tutorial, you will learn what a preload script is and how to use one to securely expose privileged APIs into the renderer process. You will als

  • GORM 允许在 Preload 的其它 SQL 中直接加载关系,例如: type User struct { gorm.Model Username string Orders []Order } type Order struct { gorm.Model UserID uint Price float64 } // 查找 user 时预加载相关 Order

 相关资料
  • 本文向大家介绍你有使用过preload、preconnect、prefetch这些属性吗?说说它们都有什么作用?相关面试题,主要包含被问及你有使用过preload、preconnect、prefetch这些属性吗?说说它们都有什么作用?时的应答技巧和注意事项,需要的朋友参考一下 Preload: 当我们在 link 标签中使用 preload 时,它会提前请求资源。主要用于获取当前路由中使用的高优

  • 问题内容: 我在“ Ajax加载程序映像”中有问题。在Firefox上运行正常,但在chrome上,ajax加载程序映像似乎没有。 我在检查任何属性产品时会在边栏上有一些属性,产品会根据它进行更改,并且在ajax完成之前会生成一个预加载器图像。我正在做的是在我首先检查任何属性时在div html中插入gif图像并使用.show()方法,并且在ajax成功之后,我将div html设置为null并将

  • 我试图在我的进程中使用节点模块(在本例中为),如下所示: 注意:功能在我按下

  • 问题内容: 我创建了一个预加载器(基于以下教程),该预加载器应显示主应用程序的初始屏幕。 9.3.4使用预加载器显示应用程序初始化进度 http://docs.oracle.com/javafx/2/deployment/preloaders.htm 每当我在IDE(IntelliJ IDEA)中运行主应用程序时,我都希望运行预加载器。 我还遵循了IntelliJ中预加载器的打包规则:https

  • Framework 7 提供了一个好用的加载指示符。 这个加载指示符使用SVG绘制,并使用CSS来进行动画,可以很方便的改变它的大小。 如果你需要的是一个Modal(popup)的加载指示符,请查阅Modal章节:Modal Preloader,Modal Indicator 加载指示符有2个颜色供选择:其中一个颜色是配合亮色背景,另一个颜色配合暗色背景,默认的是亮色背景。使用加载提示符非常简单,

  • 描述 (Description) Preloader模式定义后台操作并在此操作期间停止用户操作。 它使用以下方法打开预加载器模式 - myApp.showPreloader([title]) title - 这是一个可选方法,用于显示带有标题的预加载器模态。 例子 (Example) 以下示例演示了Framework7中预加载器模式的使用,它表示加载模式时的一些后台活动 - <!DOCTYPE h

  • 描述 (Description) Framework7中的预加载器由可缩放矢量图形(SVG)制成,并使用CSS动画,这使其易于调整大小。 预加载器有两种颜色 - 默认为浅色背景 另一个是黑暗的背景 您可以在HTML中使用preloader类,如下所示 - 例子 (Example) 以下示例演示了Framework7中预加载器的使用 - <!DOCTYPE html> <html> <head

  • >= IOS 5.5 >= Android 5.5 使用说明 : 预加载离线包内的音频资源 参数 名称 类型 必选 描述 bid Number 是 离线业务的id,-1为播放网络资源 url String 是 音频文件的路径,相对离线包根目录 返回值 名称 类型 描述 ret Number 1加载成功,0加载失败 Example mqq.invoke("media", "preloadSound

相关阅读

相关文章

相关问答

相关文档