随笔分类 -  JavaScript

摘要:一直在豆瓣上收藏看过的书和电影(其他功能基本没用过),准备做个页面可以同步显示豆瓣上收藏的所有图书和电影,这个功能可以通过豆瓣提供的API来实现,并不复杂,我只是做了简单的封装,需要的可以直接拿去用,有问题可以直接留言,运行后的效果看这里 Books 或这里我的豆瓣,因为豆瓣限制一分钟内访问次数不能超过40次,所以如果多人同时访问前面的链接可能看不到效果,再传个截图上来:几点说明:1.登录豆瓣后,可以去这里申请豆瓣APIKey。(不使用API Key时每分钟请求不能超过10次;使用API Key时,对访问的限制较为宽松,为每分钟40次)2.豆瓣API每次调用最多返回50个结果,如果你豆瓣上的书 阅读全文
posted @ 2012-03-16 23:30 Justin 阅读(27624) 评论(7) 推荐(6) 编辑
摘要:大部分效果都酷毙了!还有Step By Step的教材供参考,喜欢就认真研究一下吧!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Every new technology has its own comparisons with its competitors as jQuery is closely compared with Flash. Flash was the ... 阅读全文
posted @ 2010-09-19 20:51 Justin 阅读(2016) 评论(1) 推荐(3) 编辑
摘要:1. jQuery 1.2 Cheat-sheet [PNG]2. jQuery 1.2 Cheat Sheet v1.0 [PDF]3. jQuery 1.3 Cheatsheet [PDF]4. jQuery API Browser [Adobe AIR, HTML]5.jQuery1.1 Cheat Sheet [HTML]6.jTouch – jQuery Cheat Shee... 阅读全文
posted @ 2010-09-19 09:16 Justin 阅读(1262) 评论(0) 推荐(0) 编辑
摘要:推荐这本难得的好书:[ Detailed Information ]Language : EnglishPaperback : 272 pages [ 235mm x 191mm ]Release Date : August 2010ISBN : 1849510008ISBN 13 : 978-1-849510-00-4Author(s) : Liang Yuxian Eugene[ Book ... 阅读全文
posted @ 2010-09-09 09:11 Justin 阅读(982) 评论(1) 推荐(0) 编辑
摘要:全局变量是魔鬼。在YUI中,我们仅用两个全局变量:YAHOO和YAHOO_config。YUI的一切都是使用YAHOO对象级的成员或这个成员作用域内的变量。我们建议在你的应用程序也使用类似的规则。 Douglas Crockford已经传授了一个有用的单例模式(singleton pattern)实现此规则,我认为他的模式有益于你基于YUI的那些应用。Douglas叫它模块模式(module pattern)。它是如下工作的: 阅读全文
posted @ 2010-09-08 09:48 Justin 阅读(1529) 评论(1) 推荐(2) 编辑
摘要:the audio files and presentation slides are now available from the Web Directions website…Development TrackJohn Resig: Testing mobile JavaScriptPatrick Lauke: Brave New World of HTML5Remy Sharp... 阅读全文
posted @ 2010-08-10 23:30 Justin 阅读(601) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://msdn.microsoft.com/zh-cn/library/bb299886.aspx#intro_to_json_topic3Atif Aziz,Scott Mitchell2007 年 2 月适用于:JSON Ajax摘要:本文 JavaScript Object Notation(或 JSON),即一种开放式和基于文本的数据交换格式,它提供了一种标准数据交换格式... 阅读全文
posted @ 2010-07-30 23:00 Justin 阅读(2026) 评论(2) 推荐(1) 编辑
摘要:We are regulalry collecting useful JavaScript and jQuery snippets, libraries, articles, tools and resources and present them in compact round-ups here, on Noupe. This time we are again covering some ... 阅读全文
posted @ 2010-07-20 22:14 Justin 阅读(1241) 评论(1) 推荐(0) 编辑
摘要:JavaScript 中的内存泄露模式“JavaScript and the Document Object Model”(Nicholas Chase,developerWorks,2002 年 7 月):为 JavaScript 开发人员介绍了 DOM。“跨越边界:闭包”(Bruce Tate,developerWorks,2007 年 1 月)... 阅读全文
posted @ 2010-07-19 22:32 Justin 阅读(1254) 评论(0) 推荐(2) 编辑
摘要:jQuery isthe most popular JavaScript library that highlights the interaction between JavaScript and HTML. With jQuery you can write less and do more. jQuery has become an active trend and it’s f... 阅读全文
posted @ 2010-07-11 20:27 Justin 阅读(834) 评论(0) 推荐(0) 编辑
摘要:参考:1.The difference between ‘return false;’ and‘e.preventDefault();’2.Event order 阅读全文
posted @ 2010-07-10 13:39 Justin 阅读(1600) 评论(2) 推荐(0) 编辑
摘要:这款在线的IDE很酷,值得深入研究学习,它是是用ASP.NET实现的,可惜用的是Table布局,页面结构不那么优雅。 阅读全文
posted @ 2010-07-10 11:13 Justin 阅读(1398) 评论(5) 推荐(2) 编辑
摘要:这里好东西真不少,值得仔细研究一番!:)原文地址:http://www.1stwebdesigner.com/resources/drag-drop-jquery-plugins/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~···Do you want to become drag and drop feature expert?... 阅读全文
posted @ 2010-07-09 22:34 Justin 阅读(3757) 评论(0) 推荐(0) 编辑
摘要:We've collected jQuery plugins and tutorials a couple of times and it was time for another collection of jQuery plugins.All the below plugins have great functionality and i’m sure most of them w... 阅读全文
posted @ 2010-07-08 22:20 Justin 阅读(1202) 评论(0) 推荐(3) 编辑
摘要:These jQuery resources will set you on the path towards mastering jQuery.Written ArticlesGetting Started with jQuery – this is the official jQuery getting started guide.jQuery for JavaScript Pro... 阅读全文
posted @ 2010-07-08 10:13 Justin 阅读(972) 评论(7) 推荐(0) 编辑
摘要:xss是前端经常会遇到的问题,由于页面中的js都执行在同一个上下文中,意味着一旦出现xss漏洞,攻击者就能享有和页面其它部分js同样的权利,能做任何事情 所以一般情况下我们都会对用户输入进行过滤,禁止任何js的执行。但有时由不得不嵌入第三方js,如Google Adsense,这时就只能完全信任它,而没有机制来避免它的恶意行为,另外还有一种方法是通过iframe嵌入,但这样又会遇到不少问题,如高度调整等,而且同样不能避免第三方的恶意行为,如使用ActiveX 是否还有其它方法呢? 文整理了facebook、google、microsoft、yahoo对于这个问题的解决方案,希望能给大家带来一些启发 阅读全文
posted @ 2010-07-07 14:26 Justin 阅读(7059) 评论(0) 推荐(1) 编辑
摘要:前几天写了左边这个3D球状导航的文章分类,这里对实现细节做个简单记录。效果:分类标题呈现3D球状效果,点击分类标题的时候,会弹出这个分类对应的推荐文章列表。效果截图:HTML:核心JS:动态生成3D球状云+弹出模式窗体-articlemap.js辅助存储推荐文章列表的JS(未来通过修改这个文件来维护推荐文章):其他:这里还引用了jQuery UI的Dialog和一些自定义的CSS设置,具体参考实例... 阅读全文
posted @ 2010-07-06 00:02 Justin 阅读(2969) 评论(10) 推荐(12) 编辑
摘要:几乎所有的富 Web 应用都基于一个或多个 Web UI 库或框架,这些 UI 库与框架极大地简化了开发进程,并带来一致,可靠,以及高度交互性的用户界面。本文介绍了 15 个非常强大的 JavaScript Web UI 库,非常适合各种各种规模的富 Web 应用的开发。LivePipeLivePipe UI 基于 Prototype Javascript 框架,包含了一整套经严格测试并高度可扩展... 阅读全文
posted @ 2010-06-30 21:32 Justin 阅读(1131) 评论(0) 推荐(1) 编辑
摘要:刚才看了篇园友关于如何自定义标签云的文章,心痒痒自己也想弄一个,其实原理非常简单,就是动态load标签页里的标签,按需要的格式重新动态生成DOM结构,再通过第三方的js插件(他们用的是Google Visualization API Gallery中的TermCloud)将特定的DOM转换成标签云的效果就OK了!所以最有技术含量的地方还在第三方的js插件里,正好我不久前刚玩过一款很牛叉的3D效果的... 阅读全文
posted @ 2010-06-17 17:15 Justin 阅读(16526) 评论(22) 推荐(12) 编辑
摘要:IntroductionI haven't really digging into HTML5 yet, but it's so hot right now I can't even avoid it. I thought it would take a while to adopt it by web community and I think Apple has play a role in ... 阅读全文
posted @ 2010-06-16 00:10 Justin 阅读(2594) 评论(3) 推荐(5) 编辑

点击右上角即可分享
微信分享提示