摘要: NopCommerce中文社区's Archiver cd83816330 发表于 2010-3-9 17:32[分享]NopCommerce支付插件开发步骤之前开发了财付通的支付插件,现在把步骤写下来,供大家参考步骤:1。在nopCommerce中,创建一个新的类库“MyPayment”。2。在新的MyPayment项目,添加Nop.BusinessLogic和Nop.Common的引用。3。创建PaymentProcessor类,实现IPaymentMethod接口。4。创建新的前台付款模板,"Templates\Payment"中。5。创建用户控件Paymen 阅读全文
posted @ 2011-04-28 12:41 .雷子. 阅读(1814) 评论(1) 推荐(0) 编辑
摘要: Dependencies里面存放的是一些要用到的dll.如Microsoft 的EnterpriseLibrary,AjaxControlToolkit等. Libraries存放的是比较核心的项目.包括各种业务接口,一些公用的代码,DAL,Url重写实现等.是非常重要对部份. Payment是各种支付方式或逻辑的实现.而定义的业务接口部分在Libraries\Nop.Common\Payment下 Shipping是各种配送方式的实现.而定义的业务接口部分在Libraries\Nop.Common\Shipping下 Tax是各种税收的实现.而中定义的业务接口部分在Libraries\No. 阅读全文
posted @ 2011-04-28 11:55 .雷子. 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: css(name)访问第一个匹配元素的样式属性。Return a style property on the first matched element.返回值String参数name (String) : 要访问的属性名称示例取得第一个段落的color样式属性的值。 jQuery 代码:$("p").css("color"); ------------------------------------------------------------------------------------------------------------------ 阅读全文
posted @ 2011-02-10 16:03 .雷子. 阅读(352) 评论(0) 推荐(0) 编辑
摘要: wrap(html)把所有匹配的元素用其他元素的结构化标记包裹起来。这种包装对于在文档中插入额外的结构化标记最有用,而且它不会破坏原始文档的语义品质。这个函数的原理是检查提供的第一个元素(它是由所提供的HTML标记代码动态生成的),并在它的代码结构中找到最上层的祖先元素--这个祖先元素就是包裹元素。当HTML标记代码中的元素包含文本时无法使用这个函数。因此,如果要添加文本应该在包裹完成之后再行添加。Wrap all matched elements with a structure of other elements.This wrapping process is most useful f 阅读全文
posted @ 2011-02-10 16:00 .雷子. 阅读(300) 评论(0) 推荐(0) 编辑
摘要: append(content)向每个匹配的元素内部追加内容。这个操作与对指定的元素执行appendChild方法,将它们添加到文档中的情况类似。Append content to the inside of every matched element.This operation is similar to doing an appendChild to all the specified elements, adding them into the document.返回值jQuery参数content (String, Element, jQuery) : C要追加到目标中的内容示例向所有 阅读全文
posted @ 2011-02-10 15:54 .雷子. 阅读(289) 评论(0) 推荐(0) 编辑
摘要: obj.offset[Width|Height|Top|Left]  取控件相对于父控的位置 event.offset[X|Y] 取鼠标相在触发事件的控件中的坐标 event.screen[X|Y] 鼠标相对于屏幕坐标 event.client[X|Y] 鼠标相对于网页坐标在在 obj.scroll[Width|Height|Top|Left] 获取对象滚动的大小 obj.client[Width|Height|Top|Left] 获取对象可见区域的大小 阅读全文
posted @ 2011-01-23 17:03 .雷子. 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 关于鼠标点击其他地方隐藏层的实例(要引入jquery包哦) 阅读全文
posted @ 2011-01-23 16:56 .雷子. 阅读(1568) 评论(0) 推荐(0) 编辑
摘要: 本文所分析的重点是网页的加载速度,对于网页加载速度的分析,Google提供了page-speed工具,可以提供详细的网页加载速度的优化报告。 阅读全文
posted @ 2011-01-22 17:22 .雷子. 阅读(506) 评论(0) 推荐(0) 编辑
摘要: 链接诱饵定义  链接诱饵简单的说是指的是创建有用、有趣、吸引眼球的内容,从而吸引吸引其他站长、博主的注意力,生成的外部链接。  链接诱饵,在SEO的外部链接建设中成了新一轮的焦点。搜索引擎优化专家们给靠内容来吸引导入链接起了个有趣的名字:链接诱饵(Link Baiting)。Matt Cutts在他的博客里就曾经推荐过链接诱饵。链接诱饵的方式  下面本人推荐制造“链接诱饵”的十种方法。具体情况根据自身网站情况而定,仅代表吾型吾塑个人观点,如有雷同,就算缘分。   1.网络软文    网络软文里面插链接是目前很多SEO、推广人员、站长等选择。因为软文可以在推广的时候大部分不会被判为纯广告而被编辑 阅读全文
posted @ 2011-01-22 16:58 .雷子. 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 把表头和数据联系起来:scope,id,headers属性就我用到现在,很多表格要比上面提供的例子复杂的多。让例子复杂一点,我会移去“Company”表头,并且把第一列的数据移到表头单元格里:Table 1: Company dataEmployeesFoundedACME Inc10001947XYZ Corp20001973Table 1: Company data Employees FoundedACME Inc 1000 1947XYZ Corp 2000 1973在这个表格里,每一个数据单元格都有两个表头。最简单的方法让那些非可视的浏览器理解这个表格,就是为每个表头添加一个scop 阅读全文
posted @ 2011-01-21 17:56 .雷子. 阅读(5840) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Drawing;public partial class Defaul 阅读全文
posted @ 2011-01-21 09:39 .雷子. 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: add(expr)把与表达式匹配的元素添加到jQuery对象中。这个函数可以用于连接分别与两个表达式匹配的元素结果集。Adds more elements, matched by the given expression, to the set of matched elements.返回值jQuery参数expr (String, DOMElement, Array<DOMElement&... 阅读全文
posted @ 2010-11-30 13:07 .雷子. 阅读(401) 评论(0) 推荐(0) 编辑
摘要: eq(index)获取第N个元素这个元素的位置是从0算起。Reduce the set of matched elements to a single element.The position of the element in the set of matched elements starts at 0 and goes to length - 1.返回值jQuery参数index (Inte... 阅读全文
posted @ 2010-11-29 14:58 .雷子. 阅读(355) 评论(0) 推荐(1) 编辑
摘要: :nth-child(index/even/odd/equation)匹配其父元素下的第N个子或奇偶元素':eq(index)' 只匹配一个元素,而这个将为每一个父元素匹配子元素。:nth-child从1开始的,而:eq()是从0算起的!可以使用:nth-child(even):nth-child(odd):nth-child(3n):nth-child(2):nth-child(3n+1):nt... 阅读全文
posted @ 2010-11-25 17:58 .雷子. 阅读(468) 评论(0) 推荐(1) 编辑
摘要: 为加快JS库的加载及提高体验,GOOGLE把现在流行的JS库都放到了服务器上,通过灵活的引用及加载,来使用.Each library is available via both google.load() and directly, via a <script> include. The google.load() approach offers the most functional... 阅读全文
posted @ 2010-11-25 16:28 .雷子. 阅读(258) 评论(0) 推荐(1) 编辑
投入到.net、web前端开发、继续学习!