jGlycy

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-13 21:28:28

软件介绍

About jGlycy

jGlycy is a simple jQuery plugin. This plugin calls other any typical-interfaced-plugins automatically when document ready.

For instance, you can put "jg" attribute into your (x)html like below;

<div jg="cycle">
  <img src="/your/path/to/img01.gif" />
  <img src="/your/path/to/img02.gif" />
  <img src="/your/path/to/img03.gif" />
</div>

jGlycy calls jQuery method like this;

$('div').cycle();

You (or your team's designers) don't have to write JavaScript? any more.

How it works

When document ready, jGlycy picks up elements which have "jg" attributes. Then the plugin confirms if your jQuery object has the method names the value of the attribute. In this example, jGlycy calls "cycle" method, if jQuery object has this method.

Furthermore, you can put object-type options for the method like below;

<div jg="cycle" jg:cycle="fx:'shuffle',easing:'backout',delay:-4000">
  <img src="/your/path/to/img01.gif" />
  <img src="/your/path/to/img02.gif" />
  <img src="/your/path/to/img03.gif" />
</div>

This means

$('div').cycle({fx:'shuffle',easing:'backout',delay:-4000});

Why your team should use jGlycy

  • Script is divided off from presentation layer completely.
  • Don't have to put ID attribute to specify the element any more.
  • When calling outer script files fail, at least browser don't show error message.
  • You can use many jQuery plugins on jGlycy without modification.

本文地址:https://codercto.com/soft/d/23322.html

Linux内核完全剖析

Linux内核完全剖析

赵炯 / 机械工业出版社 / 2006-1 / 79.00元

本书对早期Linux操作系统内核全部代友文件进行了详细的剖析,旨在让读者在尽量短的时间内对Linux的工作机理获得全面而深刻的理解,为进一步学习和研究Linux系统打下坚实的基础。虽然选择的版本较低,但该内核已能够正常编译运行,并且其中已包括了Linux工作原理的精髓。书中首先以Linux源代码版本的变迁为主线,简要介绍了Lin-ux系统的发展历史,同时着重说明了各个内核版本之间的主要区别和改进方......一起来看看 《Linux内核完全剖析》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

MD5 加密
MD5 加密

MD5 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具