分页: 20/31 第一页 上页 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 下页 最后页 [ 显示模式: 摘要 | 列表 ]

Dreamweaver 8.0.2 Updater

[不指定 2006/08/05 10:04 | by Else ]
Dreamweaver 8.0.2 Updater
05/09/06 This product update improves code generated by Dreamweaver for server behaviors and for active content such as Flash. If you haven’t installed the 8.0.1 updater yet, simply install the 8.0.2 updater to get all the fixes for both updates. Also make sure the language version of the updater matches the language version of your copy of Dreamweaver. For example, you can't use the English updater with a non-English version of Dreamweaver. Full Release Notes are available.

If you installed Dreamweaver 8 from a CD, you will be prompted to insert the CD when running the 8.0.2 updater. If you no longer have the CD, please try the workaround described in the Release Notes.

http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dw8
Tags:

Windows2003优化全集

[不指定 2006/08/04 07:38 | by Else ]
刚装完2003后我们应该按照如下的方法设置一下:

  1、启用声卡: 系统安装后,声卡是禁止状态,所以要在控制面板 →声音→ 启用,重启之后再设置

它在任务栏显示(如果你使用的是Windows server 2003标准版已允许声音服务,可省略此步)。打开“开始”→ “运行”→键入“Services.msc ”,在出现的窗口中找到“Windows Audio”并双击它,然后在启动模式的下拉菜单选择“自动”,并点击“应用”→“开始”→ “确定”
Tags: ,
'***********************************************
'函数名:alerturl
'作  用:提示信息
'参  数:str----提示信息,url-----放的网址
'返回值:一个信息,回到网站
'***********************************************
function alerturl(str,url)
 response.Write("<script>alert("""&str&""");window.document.location.href='"&url&"';</script>")  
end function
'***********************************************
'函数名:trimchr
'作  用:把双引号转换成单引号放在主要在网站配置方面
'参  数:trimstrchr----被引入的字符
'返回值:过滤掉chr(34)的字符
'***********************************************
function trimchr(trimstrchr)
 if trimstrchr="" then
   exit function
 end if
trimchr=replace(trim(trimstrchr),chr(34),chr(39))
end Function

'***********************************************
'函数名:brtochr
'作  用:把vbcrlf转换成<br>,
'参  数:chrstr----这个是字符串
'返回值:字符串
'***********************************************
function chrtobr(chrstr)
 if chrstr="" then
   exit function
 end if
chrtobr=replace(chrstr,vbcrlf,"[br]")
end Function
'***********************************************
'函数名:brtochr
'作  用:把[br]转换成chr(10)
'参  数:brstr----这个是字符串
'返回值:字符串
'***********************************************
function brtochr(brstr)
 if brstr="" then
   exit function
 end if
brtochr=replace(brstr,"[br]",chr(10))
end Function

'***********************************************
'函数名:tobr
'作  用:把|转换成<br>
'参  数:strbr----这个是字符串
'返回值:字符串
'***********************************************
function tobr(strbr)
 if strbr="" then
   exit function
 end if
tobr=replace(strbr,"|","<br>")
end Function
%>
Tags:

'***********************************************
'函数名:splitaddress
'作  用:把字符串变成select
'参  数:addressstr  ----字符串
'返回值:select里面的原素
'***********************************************

function splitaddress(addressstr)
  if addressstr="" then
    exit function
  else
    Transactions=split(addressstr,"|")
    for i=0 to ubound(Transactions)
    splitaddress=splitaddress& "<option value="&chr(34)&Transactions(i)&chr(34)&">"&Transactions(i)&"</option>"&chr(10)
    next
  end if
end function
Tags:

强制关闭ie的javascript

[不指定 2006/07/28 16:19 | by Else ]
<script language="JavaScript"><!--
function WindowClose()
{
    if(document.all)
    {
        if(parseFloat(window.navigator.appVersion.substr(window.navigator.appVersion.indexOf("MSIE")+5, 3)) < 5.5)
        {
            var str  = '<object id=meizzMax classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">'
                str += '<param name="Command" value="Close"></object>';
            document.body.insertAdjacentHTML("beforeEnd", str);
            document.all.meizzClose.Click();
        }
        else
        {
            window.opener = "meizz";
            window.close();
        }
    }
    else    window.close();
}
//--></script>

<!--<input type=button value=关闭 onclick="WindowClose()">-->
Tags:

一个asp函数,alert的动作

[不指定 2006/07/28 15:01 | by Else ]

'=========================================================
'函数:alert(str)
'作用:弹出对话框信息
'参数:str      ---要弹出的信息
'参数:nexti    ---弹出后的动作0=无,1=返回,2=关闭
'=========================================================
Function alertstr(str,nexti)
dim nextStr
select case(nexti)
  case(0)
    response.Write("<script>alert("""&str&""");</script>")
    response.End()
  case(1)
    response.Write("<script>alert("""&str&""");history.back();</script>")
    response.End()
  case(2)
    response.Write("<script>alert("""&str&""");window.close();</script>")
    response.End()
end select  
end Function
Tags:

读林斌博士写好代码十个秘诀

[不指定 2006/07/28 13:38 | by Else ]
软件的质量属性
鲁棒 - Solid and Robust Code
简洁 - Maintainable and Simple Code
高效 - Fast Code
简短 - Small Code
共享 - Re-usable Code
可测试 - Testable Code
可移植 - Portable Code
Tags:
在我做过的很多项目的过程中,我一直有一个悬而未决的问题在困扰我,那就是持久层的开发。持久层的开发一般来说要么用CMP,要么用JDBC+DAO。 CMP就不用说了,它对我来说是一种失败的实践,而JDBC+DAO也存在很多的困难,我很难做到把关系表记录完整的映射到持久对象的关系上来,这主要体现在多表的关系无法直接映射到对持久对象的映射上来,可能是一个表映射多个持久对象,有可能是多个表映射一个持久对象,更有可能的是表的某些字段映射到一个持久对象,但是另外一些字段映射到别的持久对象上。而且即使这些问题都处理好了,也不能直接按照对象的方式来对持久对象(PO)编程,因为存在1:N关系的持久对象的查询其实就是1+n次对数据库的SQL,我曾经有一次失败的持久层设计,结果是某个关联很多其它持久对象的PO一查询就是5n+1次 sql,速度慢的不得了,最后不得不整个修改底层设计,最后等于是完全抛弃了对象设计,完全是按照表字段进行操作。  
Tags:
server_v1=cstr(request.servervariables("http_referer"))
server_v2=cstr(request.servervariables("server_name"))
if  mid(server_v1,8,len(server_v2))<>server_v2  then
response.redirect "index.asp"
end if
userip = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If userip = "" Then userip = Request.ServerVariables("REMOTE_ADDR")
if userip="219.118.84.49" then response.redirect "index.asp"
Tags:

_blank开新窗口不符合标准?

[不指定 2006/07/27 14:21 | by Else ]
http://www.w3cn.org/article/tips/2005/107.html 本文地址
本文参考了以下文章:Kevin Yank的《New-Window links in a Standards-Compliant World》
《Standards-based Replacement for target="_blank" in External links》
Tags:
分页: 20/31 第一页 上页 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 下页 最后页 [ 显示模式: 摘要 | 列表 ]