survey popup

piaoling  2012-12-28 15:04:11

var Survey = {         load:function(config){                      },         isUserActive:function(){                      },         calculateOccurence:function(){                                   },         ......

类别 :  默认(761)  |  浏览(4944)  |  评论(0)

Magento form field dependence

piaoling  2012-12-28 10:18:09

file : app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Edit/Tab/Main.php // define field dependencies $this->setChild('form_after', $this->getLayout()->createBlock('adminhtml/widget_form_element_dependence') ->addFieldMap("is_wysiwyg_enabled", 'wysiwyg_enabled')//param1 is form element id, param2 is element maped ->addFieldMap("is_html_allowed_on_front", 'html_allowed_on_front') ->addFieldMap("frontend_input", 'frontend_input_type') ->addFieldDependence('wysiw......

类别 :  magento(258)  |  浏览(6990)  |  评论(0)

jQuery idleTimer plugin

piaoling  2012-12-27 14:46:04

jQuery idleTimer plugin June 3rd, 2009 There are a few cases where you want to know if the user is idle. Namely: You want to preload more assets You want to grab their attention to pull them back You want close their banking session after 5 minutes of inactivity.(Jerk!) You want the site to sneak off the screen and see if they notice ;-) Nick Zakas wrote a script for YUI3 to handle these cases. His writeup has a great description of the architecture approach he took to the script. In my jQuery adaptation, I did a few different things: Leveraged......

类别 :  JS(21)  |  浏览(5535)  |  评论(0)

test

piaoling  2012-12-13 11:21:12

......

类别 :  默认(761)  |  浏览(3981)  |  评论(0)

letter to daughter

piaoling  2012-12-07 10:39:19

......

类别 :  默认(761)  |  浏览(3825)  |  评论(0)

http://fyyy.tv/index/index.htm

piaoling  2012-12-05 11:45:25

http://fyyy.tv/index/index.htm......

类别 :  默认(761)  |  浏览(5280)  |  评论(0)

S.O.L.I.D.类设计原则

piaoling  2012-12-04 13:46:17

本文是由敏捷宣言签署人之一、《 Clean Code(代码整洁之道)》一书的作者Robert C. Martin为他的《Applying Principles and Patterns》这本书搜集整理而来。 单一责任原则(SRP) 只有一个理由去修改一个类。例如,如果一个业务规则的改变会导致这个类的修改,那么,数据库、界面、报表格式或系统任何其它的部分的改变都不该迫使这个类做修改。 http://davidhayden.com/blog/dave/archive/2005/05/29/1066.aspx http://c2.com/cgi/wiki?SingleResponsibilityPrinciple 《Head First 设计模式》 ......

类别 :  PHP(78)  |  浏览(5682)  |  评论(0)

show popup

piaoling  2012-11-23 16:41:56

wogerWarningPopup = {     inBody: false,     popupNode: '<div id="jqmWarningPopup" class="jqmWindow"><div class="jqmClose"></div><div class="jqmnContent"></div></div>',     init: function(){         $('body').append($(this.popupNode));     },     show: function(title, message){         if(!this.inBody){             this.init();    &......

类别 :  默认(761)  |  浏览(4522)  |  评论(0)

清华差生10年奋斗经历

piaoling  2012-11-22 16:54:26

资深电信营销和战略专家王煜全解读创业战况 包凡一:如何写好留学文书 如何用微博开展平台活动 汤敏:如何培养想象力 导语:清华“差生”10年奋斗经历,只写事业,不写女人。作者从2004年本科毕业写到2012年,近10年的奋斗经历。反正一字一句看完后,各种反省各种彻悟。不要老去抱怨别人“天时地利人和”,做好当下,后来人或许还会羡慕嫉妒恨你。 我的故事里有三个人:我自己、我大学同宿舍的哥们、我第一个公司的直接领导......

类别 :  默认(761)  |  浏览(4563)  |  评论(0)

和大家分享一下MYSQL索引,写了一上午,还有好多要写,特别是优化这块,以后有时间再写吧。希望能对大家理解索引有帮助。

piaoling  2012-11-19 12:00:16

和大家分享一下MYSQL索引,写了一上午,还有好多要写,特别是优化这块,以后有时间再写吧。希望能对大家理解索引有帮助。 一.什么是索引 索引是用来快速地寻找那些具有特定值的记录,所有MySQL索引都以B-树的形式保存。如果没有索引,执行查询时MySQL必须从第一个记录开始扫描整个表的所有记录,直至找到符合要求的记录。表里面的记录数量越多,这个操作的代价就越高。如果作为搜索条件的列上已经创建了索引,MySQL无需扫描任何记录即可迅速得到目标记录所在的位置......

类别 :  默认(761)  |  浏览(5786)  |  评论(0)
  • Page:16/147  1461 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类