■
最近、
エロいコメントを残す人がいるので、コメントを確認した上で、表示するように変更します。
管理が行き届かず、ごめんなさい。
1.5 UI サンプル帖
1.2.3 enchantのでもファイルにアクセスできなくて、何も表示していませんでしたが、1.5が公開されているので、差し替えました。
1.5 UI サンプル帖
サンプル帖のjQueryのページ長期間にわたって、ソースしか表示できないようになっていました。
ごめんなさい。
そちらに、理由も書いておきました。
ライセンス まとめ
CVSが欲しかったので、ソースフォージというところをたずねたら、新しいプロジェクト作るなら、ライセンスのことをしっかり考えなさい。ってことで、リンクが48もずらずら並んでいる。
英文かよ!
ちんぷんかんぷんなので、日本語訳メモ帳を作りました。
どうしたらいいのか
- GNU General Public License (GPL)
- GNU Library or "Lesser" Public License (LGPL)
- BSD License
- MIT License
- Artistic License
- Mozilla Public License 1.0 (MPL)
これはフリーソフトウェアライセンスですが、コピーレフトという見地か らはそれほど強いものではありません。X11 ライセン スと違い、このライセンスはいくつかの複雑な制約を課すので、そのため にGNU GPLとは矛盾します。よって、 GPL で保護されたモジュールと MPL で保護されたモジュールは合法的に一緒 にリンクすることができません。このため、私たちは MPL を適用しないよう 強くお勧めします。
- Q Public License (QPL)
- IBM Public License 1.0
- MITRE Collaborative Virtual Workspace License (CVW License)
- Ricoh Source Code Public License 1.0
- Python License
- zlib/libpng License
- Apache Software License
- Vovida Software License 1.0
- Sun Industry Standards Source License (SISSL)
- Intel Open Source License
- Mozilla Public License 1.1 (MPL 1.1)
- Jabber Open Source License
- Nokia Open Source License
- Sleepycat License
- Nethack General Public License
- Apple Public Source License
-
このライセンスの下で公開されているソ フトウェアを利用し改良することには問題ありません。この点については、さらなる説明を用意してあります。
-
- Academic Free License
- Attribution Assurance Licenses
- Common Public License
- Eiffel Forum License
- Eiffel Forum License V2.0
- Entessa Public License
- Frameworx License
- Lucent Public License (Plan9)
- Historical Permission Notice and Disclaimer
- Motosoto License
- Naumen Public License
- OCLC Research Public License 2.0
- Open Group Test Suite License
- Open Software License
- PHP License
- Python Software Foundation License
- RealNetworks Public Source License V1.0
- Sun Public License
- Sybase Open Watcom Public License 1.0
- University of Illinois/NCSA Open Source License
- W3C License
- wxWindows Library License
- X.Net License
- Zope Public License
- Eclipse Public License
- Website Only
- Other/Proprietary License
見る人は、時間がかかるのが嫌いだ。
うれしがっていろいろやってると、とても表示に時間がかかることに気づいたのでメモ。
Web Page Analyzer - free website optimization tool website speed test check website performance report from web site optimization
jQuery使わないとき
Connection Rate | Download Time |
14.4K | 32.88 seconds |
28.8K | 17.14 seconds |
33.6K | 14.89 seconds |
56K | 9.49 seconds |
ISDN 128K | 3.88 seconds |
T1 1.44Mbps | 1.62 seconds |
jQueryを使ったとき
Connection Rate | Download Time |
14.4K | 126.11 seconds |
28.8K | 65.26 seconds |
33.6K | 56.56 seconds |
56K | 35.70 seconds |
ISDN 128K | 13.98 seconds |
T1 1.44Mbps | 5.23 seconds |
以下のスクリプトと、付属のスタイル。
<script src="/js/jquery.js" type="text/javascript"></script> <script src="/js/jquery.dimensions.js" type="text/javascript"></script> <script src="/js/jquery.gradient.js" type="text/javascript"></script> <script src="/js/ui.tabs.pack.js" type="text/javascript"></script> <script src="/js/jquery.jcarousel.pack.js" type="text/javascript"></script> <script src="/js/jquery.flatheights.js" type="text/javascript"></script> <script src="/js/jquery.easing.1.3.js" type="text/javascript"></script> <script type="text/javascript"> (function($){ jQuery(function(){ jQuery('#mycarousel').jcarousel(); jQuery('#mycarousel2').jcarousel(); jQuery('div[class^="toggle"]').hide(); //h2 idと同名のクラスをトグル jQuery('h3[id^="toggle"]').css("cursor","pointer").click(function(){ var target ="."+jQuery(this).attr("id"); jQuery(target).toggle("slow").css("background","#fff"); }); //スクリプト、グラデーション /*jQuery("#header").gradient({ from: 'eeeeff', to: 'ffffff', direction: 'horizontal' }); jQuery("#footer").gradient({ from: 'ffffff', to: 'eeeeff', direction: 'horizontal' });*/ jQuery("h3").gradient({ from: 'eeeeff', to: 'ffffff', direction: 'horizontal' }); //指定したノードの高さをそろえる jQuery('.calendar-layout li').flatHeights(); //インクルード jQuery(".calendar-layout strong").click(function(){ var target = jQuery(this).attr("id"); jQuery("#demo").empty(); jQuery("#demo").append("<iframe src=\"http://example.com/" + target + ".html\" frameborder=\"0\" height=\"940\" width=\"800\" allowtransparency=\"true\"></iframe>"); }); jQuery('.inline_list li').flatHeights(); jQuery('.inline_list').after("<br style=\"clear:both\" />"); //カルーセル イメージクリックアクション jQuery("#mycarousel img").click(function(){ var file = jQuery(this).attr("alt"); var directory = jQuery(this).attr("id"); jQuery("#result").load("goods/" + directory + '/' + file); }); //ページを開いたときの、タブ位置指定 jQuery('#tab > ul').tabs(); //style jQuery("table tr:odd").css("background","#ccf"); jQuery(".submit input") .hover(function(){jQuery(this) .css("background","#ccc")},function(){ jQuery(this).css("background","#eef"); }); jQuery("hr").wrap("<div class=\"hr\"></div>"); //UA機能 補完 jQuery("blockquote").prepend("<div style=\"width:1em;font-weight:bold;float:left;\">"</div>"); //cite属性の明示 jQuery("blockquote").each(function(){ var cite = jQuery(this).attr("cite"); if( cite ){ jQuery(this).append("<p style=\"text-align:right;\">引用元:<a href=\"" + cite +"\" onclick=\"this.target='_blank';\" onkeypress=\"this.target='_blank';\">" + cite + "</a></p>"); } }); //load top image jQuery("#header-image").append("<img src=\"/text2html/document/images/top.gif\" />"); }); })(jQuery); </script>