jGlycy
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/jglycy
软件介绍
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.
一只小鸟告诉我的事
[美]比兹·斯通 / 顾雨佳 / 中信出版社 / 2014-11 / 59.00元
比兹•斯通,无疑是自乔布斯后的又一个硅谷奇迹! 70后的他,出身贫苦,一无所有,却又特立独行,充满智慧。从他这本自传中,我们知道他和乔布斯一样,大学都没读完就辍学做了一名图书封面设计师,然后创建了赞架(Xanga)网站,又进了谷歌。在经济上打了翻身仗后,他毅然放弃了安逸的生活,从零开始,和朋友创建了世界最知名的社交平台推特(Twitter)。当推特奇迹般地改变着世界时,他又悄然离去,创建了自......一起来看看 《一只小鸟告诉我的事》 这本书的介绍吧!
