`
wfdoublext
  • 浏览: 130268 次
  • 性别: Icon_minigender_1
  • 来自: 青岛
社区版块
存档分类
最新评论
文章列表
  http://hi.baidu.com/greatmaster/blog/item/af801138930b5e26b8998fa3.html (上一篇,下一篇)     1.line(直线)a.示例:<html xmlns:v="urn:schemas-microsoft-com:vml"><head><title>创建一条从(0,0)到(200,200)的红色的边框为2px的直线</title><style>v\:* { behavior: url(#default#VML);} </style> ...
http://www.51windows.net/myjs/?u=/myjs/JsList.asp
<SPAN class="bold">古代美女欣?</SPAN><BR> <BR> <DIV style="FONT-SIZE: 12pt"> <DIV class="t_msgfont" id="message1331825"> <DIV style="LEFT: 30px; OVERFLOW: hidden; WIDTH: 600px; POSITION: relative; TOP: 10px; ...

js EncodeUtf8

function EncodeUtf8(s1) { var s = escape(s1); var sa = s.split("%"); var retV =""; if(sa[0] != "") { retV = sa[0]; } for(var i = 1; i < sa.length; i ++) { if(sa[i].substring(0,1) == "u") ...
http://www.blueidea.com/tech/web/2006/3791_5.asp       document.onmousemove = mouseMove;document.onmouseup   = mouseUp; var dragObject  = null;var mouseOffset = null; function getMouseOffset(target, ev){ ev = ev || window.event;  var docPos    = getPosition(target); var mousePos  = mouseCoords(ev); r ...
让自己的网页禁止右键菜单及禁止全选。 <script language="JavaScript"> document.oncontextmenu=new Function("event.returnValue=false;"); document.onselectstart=new Function("event.returnValue=false;"); </script>   ctrl || shift+滚轮 document.onmousewheel=function() { if( e ...
<OBJECT style="DISPLAY: none" type="application/pdf" height="0" width="0" VIEWASTEXT> <DIV id="PDFNotKnown" style="display:none"></DIV> </OBJECT>   var aa=document.all.PDFNotKnown?"IfNoAcrobat":"If ...
局限性: 1、不适合数据交换,里面有html代码,比较乱,没有固定格式 2、datagrid不能有分页、排序等,否则出错 实现方法: Response.Clear(); ???Response.Buffer= false; ???Response.Charset="GB2312"; ???Response.AppendHeader("Content-Disposition","attachment;filename=test.xls"); ???Response.ContentEncoding=System.Text.Encoding ...
function toExcel(tablename) //导出到excel { var mysheet=new ActiveXObject("OWC.Spreadsheet"); with(mysheet) { DataType = "HTMLData"; HTMLData =tablename.outerHTML; try { //fileDialog.CancelError=true; // ActiveSheet.Cells(1,1).value=&quo ...

可编辑datagrid

    博客分类:
  • .net
<asp:datagrid id="dgrdS" runat="server" Width="470px" ShowHeader="false" CellPadding="0" AutoGenerateColumns="False"> <HeaderStyle Fon ...
<a>标签 1.         <a href=”test.aspx”></a> 2.         这是最常见的一种转向方法; HyperLink控件 1.         Asp.net 服务器端控件 属性NavigateUrl指定要跳转到的Url地址 2.         NavigateUrl是可以在服务器端 ...
<body MS_POSITIONING="GridLayout"> <form id="Form1" method="post" runat="server"> <div id="divChoice"> <div id="divOver"> <div id="divCompany"><span class="title">支店</ ...
<%@ Page language="c#" Codebehind="UpLoad.aspx.cs" AutoEventWireup="false" Inherits="WebPortal.Upload" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <title>多文件上传</title> ...
using System.Text.RegularExpressions; using System; class Validation { public static void Main() { String strToTest; Validation objValidate=new Validation(); Console.Write("Enter a String to Test for Alphabets:"); strToTest=Console.ReadLine(); if(objValidate.IsAlp ...
JS的正则表达式  (轉)JS的正则表达式 //校验是否全由数字组成function isDigit(s){var patrn=/^[0-9]{1,20}$/;if (!patrn.exec(s)) return falsereturn true} //校验登录名:只能输入5-20个以字母开头、可带数字、“_”、“.”的字串function isRegisterUserName(s){var patrn=/^[a-zA-Z]{1}([a-zA-Z0-9]|[._]){4,19}$/;if (!patrn.exec(s)) return falsereturn true} //校验用户姓名:只能 ...
Global site tag (gtag.js) - Google Analytics