随笔分类 - Web开发
摘要:代码如下:<?xml version="1.0" encoding="UTF-8"?><!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --><configuration> <system.web> <compilation debug="true" targetFrame
阅读全文
摘要:找了好久twitter相关的widget,发现在dev center怎么都找不到,原来他分成了两块:1.https://twitter.com/about/resources, 这里都是现成的widgets, button 等等, 可以直接使用。2.https://dev.twitter.com/- 这里是开发中心,有API的详细说明。
阅读全文
摘要:jquery plugin:/** * Plugin which renders the YouTube channel videos list to the page * @author: H. Yankov (hristo.yankov at gmail dot com) * @version: 1.0.0 (Nov/27/2009) * http://yankov.us * * Modified my Dan Hounshell (Jan/2010) to work for favorites or * uploads feeds and simplified o...
阅读全文
摘要:http://developers.facebook.com/常用plugins:Like:http://developers.facebook.com/docs/guides/web/#pluginsActivity:http://developers.facebook.com/docs/reference/plugins/activity/
阅读全文
摘要:这是一个相当方便的工具,而且非常便于调试。Step 1:Download theUser Agent SwitcherAdd-on for FirefoxStep 2:Restart Firefoxfor the add-on change to take place.Step 3:To emulate a mobile web browser, you will need to change the user agent string that is sent out, we recommend finding a appropriate user agent string from thi
阅读全文
摘要:官方的参数解释:http://ffmpeg.org/ffmpeg.htmlRefer:http://flvideoconverter.codeplex.com/http://www.codeproject.com/KB/audio-video/FFMPEG_Interface.aspxhttp://www.bizmodules.net/Products/UltraVideoGallery3/Overview/tabid/124/Default.aspxhttp://ramcrishna.blogspot.com/2008/09/playing-videos-like-youtube-and.h
阅读全文
摘要:Creating a good website isn’t an easy task, but there’s a few tools that can definitely make your developer or designer life easier. In this article, I have compiled 15 extremely useful website that any web developer or web designer should have bookmarked.(创建一个好的网站并不是一件容易的事,不过这里有几个工具肯定可以让你的开发变得更容易,在
阅读全文
摘要:最近一个项目用到这个了,昨晚花了近1个多小时才搞定,着实郁闷,而且还是最原始的递归。var arr = new Array();//定义顶级的数组,用来保存所有顶级的对象var arrp = new Array();//定义非顶级的数组,用来保存所有非顶级的对象for (var i = 0; i < folders.length; i++) { var id = folders[i].getValue('id'); var name = folders[i].getValue('name'); var parentId = folders[i].getVa
阅读全文
摘要:<li tabIndex=”-1″ title=”Recalculate” id=”_MBcrmFormSubmitCrmForm1truetruefalse”onclick=”window.execScript(action)”action=”crmForm.SubmitCrmForm(1, true, true, false);”>So basically it calls SubmitCrmForm function.SubmitCrmForm triggers the save event even if there are no modifications made on
阅读全文
摘要:function load_script(url) { var x = new ActiveXObject("Msxml2.XMLHTTP"); x.open('GET', url, false); x.send(''); eval(x.responseText);}load_script("/isv/javascript/jquery.min.js");load_script("/isv/javascript/xx.js");看function load_script 其实很简单,就是一个ajax载入
阅读全文
摘要:网上其实到处都是。遮罩层:主要业务层:这个如果需要居中的话,需要用js来动态设置位置。设置遮罩层位置:
阅读全文
摘要:1.Active Directory安装:http://www.windowsreference.com/windows-server-2008/step-by-step-guide-for-windows-server-2008-domain-controller-and-dns-server-setup/主要就是运行dcpromo命令,之后按照步骤一步一步往下即可。让好重启机器。注意:重启后,...
阅读全文
摘要:真的很经典 ,注意其中两个(img和span)的width和height要保持一致。
阅读全文
摘要:[代码]官方参考:http://www.iis.net/ConfigReference/system.applicationHost/sites/site/bindings
阅读全文
摘要:1. Flip! A jQuery pluginThis demo mimics the popular card flip technique which can rotate an element 360 degrees around its own x or y-axis.2. jQuery Quicksand pluginThis is a great plugin for sorting...
阅读全文
摘要:这个问题,对我来说,确实一个相当郁闷的问题,耗费了几乎2个小时才搞定。先看看RegisterStartupScript 的参数签名:RegisterStartupScript(control, type, key, script, addScriptTags)RegisterStartupScript(page, type, key, script, addScriptTags)在我个人的印象中,...
阅读全文
摘要:一般情况下,我们如果需要支持多语言,就需要在安装多个语言包,这个是必须的。同时,使用LanguageToken来切换不同的语言。不过某些时候,我们需要自动切换语言。比如有这样的菜单结构:Home_EN About US_EN Contact US_ENHome_CNAbout US_CNContact US_CN当我们点击Home_CN或者Home_EN的时候,就需要实现自动切换语言,要实现这个,...
阅读全文
摘要:昨天在公司的一个项目中,碰到一个问题启用url rewritting后,一个url不正常。原始的是URL是: /ctl/User+Roles/其中的(+)加号导致问题发生。当我们把加号改成 %20后,就正常了,如:/ctl/User%20Role/要修复这个问题,在web.config的system.webserver->security下添加:<requestFiltering al...
阅读全文
摘要:一般情况下,IFRAME里面网站的cookie在IE下,默认是被拒绝的。但是在FF,Chrome等下面是正常的。我们不能要求每个用户都是手动修改IE的默认设置,来接收cookie,所以我们只能改变自己的网站信息,解决办法如下:PHP:header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"')...
阅读全文
摘要:1.Guideline:http://docs.jquery.com/Plugins/Authoring2.Example:http://www.learningjquery.com/2007/10/a-plugin-development-pattern3.重点:a)inside plugin function , "this" is jQuery Object, not DOM element...
阅读全文
浙公网安备 33010602011771号