<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>深山工作室 https://www.qwbm.com【HTML】</title>
<link>https://www.qwbm.com/news.asp?id=60</link>
<description>HTML https://www.qwbm.com</description>
<category>HTML</category>
<language>zh-cn</language>
<docs>https://www.qwbm.com/rss.asp</docs>
<generator>https://www.qwbm.com</generator>
<webMaster>565449214@qq.com</webMaster>
<managingEditor>565449214@qq.com</managingEditor>
<pubDate>2007-11-21 下午 23:11:35</pubDate>
<lastBuildDate>2026/5/3 7:04:11</lastBuildDate>
<ttl>20</ttl> 
<copyright>Copyright 2026 深山工作室 https://www.qwbm.com</copyright>
<item>
<guid>11350</guid>
<title>dw里面查找替换使用正则删除sqlserver里面的CONSTRAINT</title>
<link>https://www.qwbm.com/new.asp?id=11350</link>
<description><![CDATA[在dw里面使用查找替换功能，使用正则查找替换删除sqlserver里面的CONSTRAINT的信息，一键删除

import re
# 示例文本
text = """
CONSTRAINT [DF__xilie__03BEBB7E]&nbsp; DEFAULT ((0)) FOR [xiid]
CONSTRAINT [DF__cjxil__1300FF0E]&nbsp; DEFAULT ((0)) FOR [cjxiid]
CONSTRAINT [DF__jiageubilv]&nbsp; DEFAULT ((0)) FOR [xshiyi]
CONSTRAINT [DF__cjkua__04B2DFB7]&nbsp; DEFAULT ((0)) FOR [cjkuan]
"""

# 定义正则表达式模式
pattern = r'CONSTRAINT\s*\[DF__[^\]]*\]'

# 使用 re.sub 替换所有匹配项为空字符串
new_text = re.sub(pattern, '', text)

# 输出结果
print(new_te]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=11350</source>
<category>HTML</category>
<pubDate>2024/9/18 15:02:15</pubDate>
</item>
<item>
<guid>10349</guid>
<title>javascript获取浏览器指纹可以用来做投票</title>
<link>https://www.qwbm.com/new.asp?id=10349</link>
<description><![CDATA[有些网站是会员制,而且对会员所用的机器会有一个绑定,这就意味着一个用户只能在固定的机器上或浏览器上登陆,如果换了电脑或浏览器那很不幸,请联系商家解绑,类似的还有某些企业通过下载终端的方式进行绑定,当然这样对用户体验有很大的影响,总而言之都是为了保护企业的利益,你懂的!言归正传,既然说到绑定机器,那他们是怎么实现的呢?当然方法很多,今天我们说一下通过获取浏览器指纹的方式来识别用户是否更换了机器(尝试用js获取用户物理地址的还是放弃吧,IE可能还给你点机会, 反正我是不想再研究了,能力有限).

&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&nbsp;&nbsp;&nbsp; &lt;meta charset="UTF-8"&gt;
&nbsp;&nbsp;&nbsp; &lt;title&gt;Title&lt;/title&gt;
&nbsp;&nbsp;&nbsp; &lt;script src="https://cdn.staticfile.org/fingerprintjs2/2.1.0/fin]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=10349</source>
<category>HTML</category>
<pubDate>2024/8/26 11:38:17</pubDate>
</item>
<item>
<guid>9349</guid>
<title>火狐Mozilla Firefox出现：无法载入您的Firefox配置文件 它可能已经丢失 或是无法访问 问题解决集合处理办法</title>
<link>https://www.qwbm.com/new.asp?id=9349</link>
<description><![CDATA[
试了几个版本的火狐Mozilla Firefox软件，最后都是提示：无法载入您的Firefox配置文件 它可能已经丢失 或是无法访问，一开始以为是电脑环境问题，后来发现新做的电脑系统也不能安装，win7/win10安装之后也提示这个问题，那么就百分百肯定是软件安装问题了。



网上找的解决办法：(新建用户配置)
通过运行win+r输入firefox.exe -p -no-remote进行配置解决。
这时会弹出一个选择用户配置文件窗口，我们需要重新创建一个新的配置文件；
创建一个“默认用户”，然后点击完成；
----------------------------
以上操作之后正常使用，就不用再下面的操作。
----------------------------

操作完成之后提示：发生意外错误，无法保存更改


这样操作之后还是提示有问题。

************************************************
网上找到的解决办法：
找到安装目录C:\Documents and Settings\Administ]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=9349</source>
<category>HTML</category>
<pubDate>2024/8/20 18:17:42</pubDate>
</item>
<item>
<guid>2348</guid>
<title>DW设置之后更好用 DreamweaverCS编辑GB2312与UTF-8文件在代码视图中点击鼠标错位问题的解决办法</title>
<link>https://www.qwbm.com/new.asp?id=2348</link>
<description><![CDATA[1. 修改编辑代码编辑背景颜色（设置之后对眼睛好一些）
首选参数---代码颜色-----默认背景 #CCE8CF

2. Dreamweaver用户有可能会发现，默认情况下，DW在编辑GBK（GB2312）编码的网页文件时，在代码视图下是没有问题的，但在编辑UTF-8格式的网页时，鼠标在代码视图中点击某个代码，鼠标光标却点不中要点的位置，一般会向左挪了几个字符，如果某行中文字符越多，错位问题越严重，实在是让人抓狂的不行，那么如何解决dw在编辑UTF-8时代码视图下光标定位错位的问题呢？

其实很简单，只要修改下代码视图的字体就行了。

运行DW依次点击：编辑-首选参数，在分类项中找到 字体 并点击，在“字体设置”的列表中选择 Unicode，如果选择其它项，大家可以发现列表下面的三个字体设置也会跟着变。其实列表中的项就是我们选择不同的编码时对应的字体项，我们的编码为 UTF-8时，对应的就是Unicode。然后在代码视图中选择“宋体”，大小9pt就OK了，可参照下图设置。保存后看看，错位问题是不是没有了？



]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=2348</source>
<category>HTML</category>
<pubDate>2023/2/22 10:18:33</pubDate>
</item>
<item>
<guid>1313</guid>
<title>js指定日期加n天加n月加n年</title>
<link>https://www.qwbm.com/new.asp?id=1313</link>
<description><![CDATA[var bplimitdt = "${pd.LimitDT}"; //选中系统到期时间
bplimitdt = new Date(bplimitdt); //字符串转化成时间
var newDate = DateAdd("m ", 3, bplimitdt); //bpmonth：新增三个月份
newDate = formatDate(newDate.getTime(), 'YY-MM-DD hh:mm:ss'); //格式化时间




格式化时间
function formatDate(time, format) {
var date = new Date(time);

var year = date.getFullYear(),
month = date.getMonth() + 1,
//月份是从0开始的
day = date.getDate(),
hour = date.getHours(),
min = date.getMinutes(),
sec = date.getSeconds();
var preArr = Array.app]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1313</source>
<category>HTML</category>
<pubDate>2022/8/25 13:58:01</pubDate>
</item>
<item>
<guid>1310</guid>
<title>jquery中动态生成的代码使用on hover事件时不出现效果</title>
<link>https://www.qwbm.com/new.asp?id=1310</link>
<description><![CDATA[jquery动态添加的元素，使用on hover事件时有问题，可以使用以下的代码

$("body").on("mouseover mouseout",".lineItem",function(event) {
&nbsp;&nbsp;&nbsp; if(event.type == "mouseover"){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //鼠标悬浮
&nbsp;&nbsp;&nbsp; }else if(event.type == "mouseout"){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //鼠标离开
&nbsp;&nbsp;&nbsp; }
});
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1310</source>
<category>HTML</category>
<pubDate>2022/7/20 18:54:10</pubDate>
</item>
<item>
<guid>1306</guid>
<title>iframe里阻止_blank弹出新窗口的方法</title>
<link>https://www.qwbm.com/new.asp?id=1306</link>
<description><![CDATA[近弄个东西，需要用到iframe，但是加载的网页中有_blank，不能让他跳出来。
如果想让目的网址的_blank删除，这是不可能的。
网上找了很多的资料，要么是跨域不能修改.要么就根本牛头不对马嘴


后来,看到了html5里iframe有个叫sandbox的属性把 iframe 里的网页给关笼子里的属性

所以,就来找找这个的用法.


&lt;iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
&nbsp;&nbsp;&nbsp; src="https://www.qwbm.com"
&nbsp;&nbsp;&nbsp; style="border: 0; width:130px; height:20px;"&gt;&lt;/iframe&gt;


我们在上面的示例中看到了一些可能的沙盒标志，现在让我们更详细地研究一下该属性的内部工作原理。

给定具有空沙盒属性 ( &lt;iframe sandbox src="..."&gt; &lt;/ifra]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1306</source>
<category>HTML</category>
<pubDate>2022/6/8 11:04:34</pubDate>
</item>
<item>
<guid>1305</guid>
<title>jquery实现下拉加载更多</title>
<link>https://www.qwbm.com/new.asp?id=1305</link>
<description><![CDATA[



实现思路：
只要滚动条拉到的某个位置距离底部距离大于边框的高度立即加载新数据。

代码如下：
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;滚动加载更多&lt;/title&gt;
&lt;style type="text/css"&gt;
body,div {margin:0;padding:0;}
body {width: 100%;background-color: #ccc;display: flex;flex-wrap: wrap;justify-content: space-around;border: 1px solid gold;}
.load_div {width: 400px;height: 300px;border:1px solid red;}
.load_div2 {width: 400px;height: 300px;border:1px solid green;}
&lt;/sty]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1305</source>
<category>HTML</category>
<pubDate>2022/6/8 10:39:37</pubDate>
</item>
<item>
<guid>1293</guid>
<title>jquery获得当前所有input表单数据并进行序列化的各种问题与解决方案serialize与serializeArray的区别分析</title>
<link>https://www.qwbm.com/new.asp?id=1293</link>
<description><![CDATA[在使用ajax处理相关数据时，用到了jquery获得所有表单项目的数据内容并进行传递给对应动态页面处理。
以下是相关的全部演示代码jquery表单数据序列化的各种问题与解决方案
以及对于serialize与serializeArray的区别分析
在用jquery获得checkbox表单相关数据时会有bug，我也对其中的bug给了演示，方便观看bug的效果，然后给出了对应解决方案
以下是演示代码产生的console.log反馈


以下是jquery获得表单里面的表单内容数据的代码
&lt;!DOCTYPE HTML&gt;
&lt;html lang="zh-CN"&gt;
&lt;head&gt;
&lt;title&gt;深山在线表单系统&lt;/title&gt;
&lt;script language="javascript" type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;
&lt;script language="javascript" type="text/javascript"&]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1293</source>
<category>HTML</category>
<pubDate>2022/2/24 15:39:57</pubDate>
</item>
<item>
<guid>1292</guid>
<title>jquery获取不同类型表单值的方式</title>
<link>https://www.qwbm.com/new.asp?id=1292</link>
<description><![CDATA[


在日常开发过程中，有许多用到表单的地方。比如登录，注册，比如支付，填写订单，比如后台管理等等。

jquer获取不同类型表单值的常见方法。


常见表单
单行文字域：&lt;input type="text" id='qwbm_text' value='这个单行文本'&gt;
密码域：&lt;input type="password" id='qwbm_pass' value='这个是密码内容'&gt;
单选：
&lt;label for="qwbm_sex1"&gt;&lt;input type="radio" name='qwbm_sex' id='qwbm_sex1' value="1"&gt;男&lt;/label&gt;
&lt;label for="qwbm_sex2"&gt;&lt;input type="radio" name='qwbm_sex' id='qwbm_sex2' value="2"&gt;女&lt;/label&gt;
多选：
&lt;label for="q_duoxuan1"&gt;&lt;input type="]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1292</source>
<category>HTML</category>
<pubDate>2022/2/22 15:45:03</pubDate>
</item>
<item>
<guid>975</guid>
<title>查询某个字符在字符串中出现的位置数组</title>
<link>https://www.qwbm.com/new.asp?id=975</link>
<description><![CDATA[&lt;!DOCTYPE html&gt;&lt;html lang="en"&gt;&lt;head&gt;&nbsp;&nbsp;&nbsp; &lt;meta charset="UTF-8"&gt;&nbsp;&nbsp;&nbsp; &lt;title&gt;查询某个字符在字符串中出现的位置数组&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&nbsp;&nbsp;&nbsp; &lt;script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"&gt;&lt;/script&gt;qwbmcomqwbmqwbmcom&lt;br /&gt;qwbmcomqwbmqwbmcom&lt;br /&gt;查询 a&lt;script type="text/javascript"&gt;$(function(){&nbsp;&nbsp;&nbsp; var str = "qwbmcomqwbmqwbmcomqwbmcomqwbmqwbmc]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=975</source>
<category>HTML</category>
<pubDate>2021/8/14 10:28:43</pubDate>
</item>
<item>
<guid>973</guid>
<title>正则的常表达式</title>
<link>https://www.qwbm.com/new.asp?id=973</link>
<description><![CDATA[font-family:[^;']*(;)?&nbsp;php 正则删除内容里的style="font-family:字体;"一、校验数字的表达式数字：^[0-9]*$n位的数字：^\d{n}$至少n位的数字：^\d{n,}$m-n位的数字：^\d{m,n}$零和非零开头的数字：^(0|[1-9][0-9]*)$非零开头的最多带两位小数的数字：^([1-9][0-9]*)+(\.[0-9]{1,2})?$带1-2位小数的正数或负数：^(\-)?\d+(\.\d{1,2})$正数、负数、和小数：^(\-|\+)?\d+(\.\d+)?$有两位小数的正实数：^[0-9]+(\.[0-9]{2})?$有1~3位小数的正实数：^[0-9]+(\.[0-9]{1,3})?$非零的正整数：^[1-9]\d*$ 或 ^([1-9][0-9]*){1,3}$ 或 ^\+?[1-9][0-9]*$非零的负整数：^\-[1-9][]0-9"*$ 或 ^-[1-9]\d*$非负整数：^\d+$ 或 ^[1-9]\d*|0$非正整数：^-[1-9]\d*|0$ 或 ^((-\d+)|(0+))$非负浮点数：^]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=973</source>
<category>HTML</category>
<pubDate>2021/8/14 10:28:43</pubDate>
</item>
<item>
<guid>955</guid>
<title>正则替换回车换行符和把br替换成回车换行符</title>
<link>https://www.qwbm.com/new.asp?id=955</link>
<description><![CDATA[var msg = (c_value).replace(/&lt;br\s*\/?&gt;/g, '\r\n'); //把&lt;br&gt;换成换行符号
msg = msg.replace(/&lt;\/?[^&gt;]*&gt;/g, ''); //去除html标签
msg = msg.replace(/[|]*\n/, ''); //去除行尾空格
msg = msg.replace(/&amp;nbsp;/gi, ''); //去掉nbsp
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=955</source>
<category>HTML</category>
<pubDate>2021/5/11 18:58:19</pubDate>
</item>
<item>
<guid>933</guid>
<title>jQuery设置提交表单disabled属性所有input、button、extarea、select、checkbox、radio都生效</title>
<link>https://www.qwbm.com/new.asp?id=933</link>
<description><![CDATA[

js代码实现：
document.getElementById("表单组件ID").disabled=true;
document.getElementById("表单组件ID").disabled=false;


jQuery代码实现：
//两种方法设置disabled属性
$('#qwbminput').attr("disabled",true);
$('#qwbminput').attr("disabled","disabled");

//三种方法移除disabled属性
$('#qwbminput').attr("disabled",false);
$('#qwbminput').removeAttr("disabled");
$('#qwbminput').attr("disabled","");


测试代码：
&lt;button id="qwbminput"&gt;表单&lt;/button&gt;
&lt;br&gt;&lt;br&gt;
&lt;button onclick='qwbmtrue()'&gt;true&]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=933</source>
<category>HTML</category>
<pubDate>2021/2/7 17:03:04</pubDate>
</item>
<item>
<guid>912</guid>
<title>window.location.href跳转无反应不跳转解决</title>
<link>https://www.qwbm.com/new.asp?id=912</link>
<description><![CDATA[遇到一个问题，在操作页面跳转时候，使用window.location.href无法进行跳转，经过一系列的排查，和分析，最终解决这个问题。

$("#quit").click(function () {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (confirm("你确定要退出嘛？")) {&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.location.href='bolg.html';&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.location.href='login.html';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=912</source>
<category>HTML</category>
<pubDate>2020/12/8 13:44:42</pubDate>
</item>
<item>
<guid>911</guid>
<title>window.location.href和setTimeout结合时间错误</title>
<link>https://www.qwbm.com/new.asp?id=911</link>
<description><![CDATA[1、这样代码时间无效，会直接跳转
setTimeout(window.location.href='http://www.qwbm.com/',3000);

2、这样是正常的解决方案
setTimeout(function() { window.location.href = 'http://www.qwbm.com/'; }, 5000 );
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=911</source>
<category>HTML</category>
<pubDate>2020/12/8 13:37:16</pubDate>
</item>
<item>
<guid>909</guid>
<title>Object.assign的一些用法</title>
<link>https://www.qwbm.com/new.asp?id=909</link>
<description><![CDATA[用法1：替换数组的值

let a = [1,2,3],b = [4,5]
console.log( Object.assign(a,b)); // 后面的值覆盖前面的值,[4,5,3]


用法2：为对象添加属性
下面是es5的写法：this.xxx =xxx

&nbsp; //&nbsp;&nbsp;&nbsp; es5的写法
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class Test{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; constructor(x,y){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.x =x
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=909</source>
<category>HTML</category>
<pubDate>2020/11/12 20:19:03</pubDate>
</item>
<item>
<guid>883</guid>
<title>各种钱货币字母转换对应的符号</title>
<link>https://www.qwbm.com/new.asp?id=883</link>
<description><![CDATA[各种钱货币字母对应的符号

'USD': '$',
'HKD': 'HK$',
'CAD': 'C$',
'AUD': 'A$',
'TWD': 'NT$',
'JPY': 'JPY￥',
'EUR': '€',
'SGD': 'S$',
'GBP': '￡',
'NZD': 'NZ$',
'MYR': 'RM',
'KZT': '〒',
'KRW': '?',
'THB': '?',
'PHP': '?',
'TRY': '?',
'MXN': 'Mex$',
'CNY': '￥']]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=883</source>
<category>HTML</category>
<pubDate>2020/9/9 17:21:56</pubDate>
</item>
<item>
<guid>880</guid>
<title>jquery实现移动端下拉加载刷新更多信息</title>
<link>https://www.qwbm.com/new.asp?id=880</link>
<description><![CDATA[记录初始化的页数，now为当前页，num为总页数，这个数值的设置是通过php获取分页的时候的总页数
&lt;div class="caseud" now="1" num="2"&gt;
&nbsp;&nbsp;&nbsp; &lt;a href="javascript:;"&gt;加载更多&lt;/a&gt;&nbsp;&nbsp;&nbsp; 
&lt;/div&gt;

&lt;script type="text/javascript"&gt;
//记录状态
var state=true;
//滚动条滚动的时候
$(window).scroll(function(){
&nbsp;&nbsp;&nbsp; //获取当前加载更多按钮距离顶部的距离
&nbsp;&nbsp;&nbsp; var bottomsubmit = $('.caseud').offset().top;
&nbsp;&nbsp;&nbsp; //获取当前页面底部距离顶部的高度距离
&nbsp;&nbsp;&nbsp; var nowtop = $(document).scrollTop(]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=880</source>
<category>HTML</category>
<pubDate>2020/8/10 14:37:08</pubDate>
</item>
<item>
<guid>879</guid>
<title>删除程序页面代码中的注释标签</title>
<link>https://www.qwbm.com/new.asp?id=879</link>
<description><![CDATA[用正则表达式了删掉xml、css或者其它文章中的注释。
首先我们了解代码中的注释无非3种：

1 // 单行注释
2 /* */ 多行注释
3 /** */ 文档注释

我们可以使用 Ctrl+F 中替换方式来解决，把注释都替换为为空，这样就解决了删除注释的目的。
这里我们需要用到正则表达式删除

删除注释 /* */：/\*{1,2}[\s\S]*?\*/
删除注释 //：//[\s\S]*?\n
删除xml注释：&lt;!-[\s\S]*?--&gt;
删除空白行：^\s*\n

看你的系统是windows还是Unix/Linux或者是mac的系统
\n或者是\r\n&nbsp; 或者是\r 都可能是换行符]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=879</source>
<category>HTML</category>
<pubDate>2020/8/10 14:31:47</pubDate>
</item>
<item>
<guid>870</guid>
<title>服务器iis配置.mp4视频格式播放(网页播放.mp4有声音但没有图像画面)</title>
<link>https://www.qwbm.com/new.asp?id=870</link>
<description><![CDATA[IIS设置流程


打开IIS → 在网站的文件夹上面右击 → 属性 → HTTP头--MIME类型 → 新建 → 扩展名 MP4 MIME类型为： application/octet-stream → 重启IIS

进入“MIME类型”，其它一些格式设置建议
flv格式是加入关联扩展名：.flv，内容类型：application/octet-stream
f4v格式是扩展名：.f4v，内容类型：application/octet-stream
mp4格式是扩展名：.mp4，内容类型：video/mp4
要注意的是，内容类型并不是跟扩展名配套的，你起别的名称一要，只是做个说明而已
确定以后，服务器就可以支持FLV,f4v,mp4视频播放了，如果依然不可以的话，可以尝试重新启动IIS！



这个时候通过iis就能访问mp4文件访问，当点击的时候，能播放了
（如果发现mp4格式有声音，但没有图像画面这个时候要注意。）

原来：mp4的视频编码有三种：MPEG4(DivX)，MPEG4(Xvid)，AVC(H264)

只有AVC(H264)编码格式的]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=870</source>
<category>HTML</category>
<pubDate>2020/1/7 14:57:27</pubDate>
</item>
<item>
<guid>868</guid>
<title>jquery实现单选按钮radio选中和取消 使用prop()代替attr()</title>
<link>https://www.qwbm.com/new.asp?id=868</link>
<description><![CDATA[&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;&lt;title&gt;jquery实现单选按钮radio选中和取消 使用prop()代替attr()&lt;/title&gt;&lt;/head&gt;
&lt;body&gt;

JQuery获取选中的radio&lt;br&gt;
$('input:radio[name="sex"]:checked')&lt;br&gt;&lt;br&gt;

Jquery选中或取消radio&lt;br&gt;
$("#qwbmdanxuan1").attr("checked","checked");&lt;br&gt;
$("#qwbmdanxuan2").attr("checked",false);&lt;br&gt;&lt;br&gt;



&lt;input type="radio" name="aaa" value="第 1 个"&gt;
第 1 个&lt;br&gt;
&lt;input type="radio" name="aaa]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=868</source>
<category>HTML</category>
<pubDate>2019/12/20 20:36:22</pubDate>
</item>
<item>
<guid>865</guid>
<title>安卓版微信中播放视频不自动全屏</title>
<link>https://www.qwbm.com/new.asp?id=865</link>
<description><![CDATA[设置安卓视频不全屏播放（不知道是不是全部安卓机型都支持）的方法
前两天做了一个石头剪刀布的视频游戏项目，测试过程中找到了更加简便的方法，分享下，如下设置HTML代码：
&lt;video id="videoID" controls src="demo.mp4" poster="demo.jpg" preload="auto" x-webkit-airplay="true" x5-playsinline="true" webkit-playsinline="true" playsinline="true"&gt;&lt;/video&gt;


安卓设置属性：
x5-playsinline="true"
实测，不可加以下属性设置，否则还是会跳出黑底全屏播放
x5-video-player-type='h5' x5-video-player-fullscreen='true'


注意的细节就是，（只是安卓机）当视频播放后：
1、它的层级比较高，当有设置定位的弹层显示后,即使设置z-index层级特别高，还是会被播放过的视频挡住的（我这边解决方法就是当显示弹层时隐藏]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=865</source>
<category>HTML</category>
<pubDate>2019/11/10 20:47:20</pubDate>
</item>
<item>
<guid>857</guid>
<title>网站从http改成https(ssl证书)后设置301跳转将http跳转到https的方法</title>
<link>https://www.qwbm.com/new.asp?id=857</link>
<description><![CDATA[以下是qwbm.com当前网站使用的从http转到https的代码
使用环境介绍：用的是云主机（windows2008），为了优化与权重的考虑，采用了301转向（也可以不使用301转向，直接放在根目录就可以使用）在根目录放一个 web.config

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;configuration&gt;
&lt;system.webServer&gt;
&nbsp; &lt;rewrite&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;rules&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;rule name="301" stopProcessing="true"&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;match url="^(.*)$" ignoreCase="false" /&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=857</source>
<category>HTML</category>
<pubDate>2019/5/6 17:22:07</pubDate>
</item>
<item>
<guid>855</guid>
<title>jquery动态生成的html代码中无法使用jquery事件的解决方法</title>
<link>https://www.qwbm.com/new.asp?id=855</link>
<description><![CDATA[默认常用的代码
&lt;script&gt;
//以下是正常使用的代码，但是dom动态生成的html代码就不管了
$(document).ready(function(){
$("button").on("click",function(){
alert("这个是正常的一般常用的点击事件");
});
});
&lt;/script&gt;


以下是改版过的功能

&lt;script&gt;
//改成以下的代码，就可以在js动态生成的html代码也可以使用jquery功能
$(document).ready(function(){
$(document).on("click","#button",function(){
alert("这个是改进过的点击事件");
});
});
&lt;/script&gt;]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=855</source>
<category>HTML</category>
<pubDate>2019/4/16 15:23:47</pubDate>
</item>
<item>
<guid>848</guid>
<title>国内网站常用的一些 CDN 静态资源公共库加速服务</title>
<link>https://www.qwbm.com/new.asp?id=848</link>
<description><![CDATA[如果页面需要加载很多库，如果自己空间流量不足，这个时候用上一些CDN静态资源库加速还是不错的。

目前国内的一些比较大的公共CDN服务：
（因为国内的谷歌访问受限制，所以就不用了，就算有时候能正常访问，也是不正常访问大于正常访问时间。）
最好不要别人网站的相关JS库，因为可能随时限制（本人之前有用过别的库，系统上线正常，然后各种广告推送，还有不能正常使用功能）


百度CDN公共库
百度公共库地址：http://cdn.code.baidu.com/
（PS：按理说百度的库最好的，但是结果却不好，已经打不开了，百度经常改个东西就把之前一直用的东西就给关了。）


新浪云计算CDN公共库
官网：http://lib.sinaapp.com/
（PS：挺好用的，目前没有像百度那样突然关掉。）

BootCDN公共开源项目
官网：https://www.bootcdn.cn/
（PS：后增加的更喜欢这个，里面资源更多，更多的开源项目，推荐用这个。）

七牛云存储 开放静态文件CDN
官网：http://www.staticfile.org/
（PS]]></description>
<author>深山工作室</author>
<source>https://www.qwbm.com/new.asp?id=848</source>
<category>HTML</category>
<pubDate>2019/4/9 13:50:50</pubDate>
</item>
<item>
<guid>847</guid>
<title>ios苹果版手机微信内置浏览器$(document).on(</title>
<link>https://www.qwbm.com/new.asp?id=847</link>
<description><![CDATA[$(document).on("click","element",function(){})

今天在测试网页的时候发现，动态生成元素的点击事件$(document).on("click",function(){})在andriod安卓设备和电脑浏览器上测试全部可以使用，而在apple苹果移动设备上却无法触发。（还有怪异的是用苹果的手机浏览器有时候可以，但是在微信内置的浏览器不能触发使用）

试过很多办法都没有用，最后百度了几个方法，测试了几个解决方式：
01. 就是给需要绑定事件的元素添加一个css，对应的css里面一定要有 cursor:pointer。 （目前不懂为什么加了这个样式就管了，没搞懂原理。）
&nbsp; &nbsp;例：.dianjiayangshi {cursor:pointer;}
&nbsp; &nbsp;(这个方法测试过可以使用，也是正在使用的办法)

02. 在对应要点击的地方加上onclick=""
&nbsp; &nbsp;如：&lt;div class="dianjiayangshi" onclick=""&gt;&lt;/div]]></description>
<author>深山工作室</author>
<source>https://www.qwbm.com/new.asp?id=847</source>
<category>HTML</category>
<pubDate>2019/3/18 14:11:33</pubDate>
</item>
<item>
<guid>836</guid>
<title>最新县及县以上1980年以来历史行政区划代码大全截止2018年3月31日</title>
<link>https://www.qwbm.com/new.asp?id=836</link>
<description><![CDATA[最新县及县以上1980年以来历史行政区划代码大全截止2018年3月31日

请直接到作者网站查看：http://www.zxinc.org/gb2260.htm

作者官网：http://www.zxinc.org

里面下了挺多的东西。]]></description>
<author>深山工作室</author>
<source>https://www.qwbm.com/new.asp?id=836</source>
<category>HTML</category>
<pubDate>2018/5/14 10:27:27</pubDate>
</item>
<item>
<guid>805</guid>
<title>介绍JavaScript里比较和逻辑运算符</title>
<link>https://www.qwbm.com/new.asp?id=805</link>
<description><![CDATA[比较和逻辑运算符用于测试 true 或 false。比较运算符比较运算符在逻辑语句中使用，以测定变量或值是否相等。给定 x=5，下面的表格解释了比较运算符：运算符描述例子==等于x==8 为 false===全等（值和类型）x===5 为 true；x==="5" 为 false!=不等于x!=8 为 true&gt;大于x&gt;8 为 false&lt;小于x&lt;8 为 true&gt;=大于或等于x&gt;=8 为 false&lt;=小于或等于x&lt;=8 为 true逻辑运算符逻辑运算符用于测定变量或值之间的逻辑。给定 x=6 以及 y=3，下表解释了逻辑运算符：运算符描述例子&amp;&amp;and(x &lt; 10 &amp;&amp; y &gt; 1) 为 true||or(x==5 || y==5) 为 false!not!(x==y) 为 true]]></description>
<author>网络</author>
<source>https://www.qwbm.com/new.asp?id=805</source>
<category>HTML</category>
<pubDate>2014/9/19 9:30:20</pubDate>
</item>
<item>
<guid>803</guid>
<title>页面里面的js和css的放的位置顺序与加载速度分析</title>
<link>https://www.qwbm.com/new.asp?id=803</link>
<description><![CDATA[以下是head里的里面的顺序对请求有何影响：有很大的影响为了让客户先看到效果，必须要先加CSS如果在先head加载CSS，如果CSS大，会先下载CSS，再渲染HTML标签如果CSS放在head中，当显示出HTML时，会正常的显示出前台效果CSS不要放在body中，这样会显示效果是，会有问题，一显示页面是乱码，这样会让客户误以为当前网页有问题JS存放问题如果在head中放入js，会先加载JS，再渲染HTML，这样在速度上会大大降底，必须要在第一时间向客户展现前台效果，再加载其它特效所以最好JS是放在&lt;/body&gt;之前，不在放在head中，外部JS与内部JS，内部JS一定要放在外部JS前面。]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=803</source>
<category>HTML</category>
<pubDate>2014/9/16 20:27:43</pubDate>
</item>
<item>
<guid>799</guid>
<title>Dreamweaver在onLoad运行_onOpen.htm时,发生了以下javascript错误</title>
<link>https://www.qwbm.com/new.asp?id=799</link>
<description><![CDATA[晚上关电脑时，DW没有正常关掉，早上来的时候打开就是问题：在onload运行overlay_cssgrids_layoutdivmaipulator_onopen.htm时，发生了以下javascript错误;在文件“ovverlay_cssgrids_layoutdivmanipulator_onopen”中;onope is not defined解决办法：删除这个文件夹下面的文件C:\Documents and Settings\Administrator\Application Data\Adobe\Dreamweaver CS6\zh_CNAdministrator 当前登录电脑的用户名Application Data需要显示隐藏的文件才能显示出这个文件夹]]></description>
<author>网络</author>
<source>https://www.qwbm.com/new.asp?id=799</source>
<category>HTML</category>
<pubDate>2014/9/6 15:48:21</pubDate>
</item>
<item>
<guid>743</guid>
<title>window.location.href在firefox火狐中不兼容的解决办法</title>
<link>https://www.qwbm.com/new.asp?id=743</link>
<description><![CDATA[window.open() 打开新窗口
window.location.href 现有本窗体打开
跳转某个网址 window.location.href(&quot;http://www.qwbm.com&quot;);
在IE下能正常跳转，但是在火狐下不行

IE或者Firefox2.0.x：可以使用window.location或window.location.href；
Firefox1.5.x：只能使用window.location
解决方法：使用window.location来代替window.location.href]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=743</source>
<category>HTML</category>
<pubDate>2013/4/24 11:22:39</pubDate>
</item>
<item>
<guid>689</guid>
<title>Dreamweaver错误：以下翻译器没有被装载，由于错误;xsltransform.htm;有不正确的设置信息</title>
<link>https://www.qwbm.com/new.asp?id=689</link>
<description><![CDATA[在使用Dreamweaver发生了以下错误

以下翻译器没有被装载，由于错误;xsltransform.htm;有不正确的设置信息

解决办法

把&ldquo;C:\Documents and Settings\Administrator\Application Data\Macromedia\&rdquo;下的Dreamweaver 8删除
然后打开Dreamweaver就可以正常使用了，现在回到&ldquo;C:\Documents and Settings\Administrator\Application Data\Macromedia\&rdquo;目录下，新的Dreamweaver 8配置文件又出现了。

Application Data 为系统隐藏文件，请通过&ldquo;菜单--工具--文件夹选项--查看--显示所有文件和文件夹&rdquo;]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=689</source>
<category>HTML</category>
<pubDate>2011/6/20 21:37:55</pubDate>
</item>
<item>
<guid>687</guid>
<title>Dreamweaver错误：在onload运行_beforeSave.htm时，发生了一个JavaScript错误</title>
<link>https://www.qwbm.com/new.asp?id=687</link>
<description><![CDATA[用Dreamweaver的朋友很多会遇到Dreamweaver的JS出错的情况，其中最多的便是保存时的onLoad错误。

在使用DW保存过程中，&ldquo;在onLoad运行_afterSave.htm时，发生了一个JavaScript的错误&rdquo;或者，&ldquo;在onLoad运行_beforeSave.htm时，发生了一个JavaScript的错误&rdquo;

一般错误原因为dw配置文件被损坏所致

其它原因很多，最有可能的便是Configuration内的JS脚本损坏，很多人说重新安装Dreamweaver，其实根本不用重新安装。

以下方法对于所有版本Dreamweaver都有效。

1.首先退出DW
2.打开C:\Documents and Settings\用户名\Application Data\Macromedia\Dreamweaver 8(或者是Dreamweaver MX/2004)\
3.重命名Configuration，随便给取个名字例如Configuration_a
4.重新启动Dreamweaver，就行

]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=687</source>
<category>HTML</category>
<pubDate>2011/6/12 20:07:38</pubDate>
</item>
<item>
<guid>677</guid>
<title>flash利用as调用执行外部设置的exe文件</title>
<link>https://www.qwbm.com/new.asp?id=677</link>
<description><![CDATA[在Flash中,可以通过fscommand命令来启动/执行外部应用程序,如以下代码:
&nbsp;&nbsp;&nbsp; on (release) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fscommand(&quot;exec&quot;, &quot;keygen.exe&quot;);
&nbsp;&nbsp;&nbsp; }

这在早期版本中,执行的好好的.可是Flash 7以后,这样的做法却失灵了
原来在Flash 7以后,Flash Player增强了安全性,它有了一些要求:

1.Flash得编译成exe文件,swf是不能执行exe的;
2.在Flash文件的相同目录下,建立一个&quot;fscommand&quot;的文件夹,将要执行的exe文件放入;


满足以上条件后就可以了,命令的写法还是不变:fscommand(&quot;exec&quot;, &quot;keygen.exe&quot;); 不需要带路径,它 会自动去fscommand文件夹中找寻要执行的文件;

以下为关键，要不然生成的]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=677</source>
<category>HTML</category>
<pubDate>2011/3/15 11:11:35</pubDate>
</item>
<item>
<guid>644</guid>
<title>[转]javascript缓冲效果</title>
<link>https://www.qwbm.com/new.asp?id=644</link>
<description><![CDATA[[转]javascript缓冲效果&nbsp; 查看预览效果&gt;&gt;


http://bbs.blueidea.com/viewthread.php?tid=2883594&amp;extra=&amp;page=1]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=644</source>
<category>HTML</category>
<pubDate>2010/7/26 17:32:39</pubDate>
</item>
<item>
<guid>634</guid>
<title>flash关闭动画时同时关闭网页的代码</title>
<link>https://www.qwbm.com/new.asp?id=634</link>
<description><![CDATA[flash关闭动画时同时关闭网页的代码on(release){&nbsp; getURL("javascript:window.opener=null;self.close();");//这是flahs关闭HTML网页用的用的&nbsp; FScommand("quit",true); //这个是关闭SWF动画的用的}on(release){&nbsp;getURL("javascript:window.opener=null;self.close();");&nbsp;FScommand("quit",true);}]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=634</source>
<category>HTML</category>
<pubDate>2010/7/6 16:18:20</pubDate>
</item>
<item>
<guid>621</guid>
<title>在iframe窗口中打开链接</title>
<link>https://www.qwbm.com/new.asp?id=621</link>
<description><![CDATA[在iframe窗口中打开链接
&lt;iframe name="a1"&gt;&lt;/iframe&gt;&nbsp; &lt;a href="http://www.qwbm.com/" target="a1"&gt;qwbm&lt;/a&gt;
&lt;iframe id="mxh"&gt;&lt;/iframe&gt;&nbsp; &lt;a href="http://www.lyglyw.com/" onclick="document.frames('mxh').location=this.href;return false"&gt;www.lyglyw.com&lt;/a&gt;]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=621</source>
<category>HTML</category>
<pubDate>2010/5/3 17:29:39</pubDate>
</item>
<item>
<guid>619</guid>
<title>在网页添加创建快捷方式的按钮</title>
<link>https://www.qwbm.com/new.asp?id=619</link>
<description><![CDATA[在网页内加上创建桌面快捷方式的按钮 功能是：浏览网页时 在醒目的地方有个收藏本站到桌面(在桌面创建连接本站的快捷方式) 本人严重不建议大家使用。 


以下为详细代码
&lt;script language="JavaScript"&gt;
function toDesktop(sUrl,sName){
try   
  {  
 var WshShell = new ActiveXObject("WScript.Shell"); 
 var oUrlLink = WshShell.CreateShortcut(WshShell.SpecialFolders("Desktop") + "\\" + sName + ".url"); 
 oUrlLink.TargetPath = sUrl; 
 oUrlLink.Save(); 
  }   
  catch(e)   
  {   
          alert("当前IE安全级别不允许操作！");   
  }
} 
&lt;/script&gt;

&lt;a href="#" onCli]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=619</source>
<category>HTML</category>
<pubDate>2010/4/22 14:48:34</pubDate>
</item>
<item>
<guid>617</guid>
<title>以前的QQ强聊不管了，这个是非常管用的QQ强聊</title>
<link>https://www.qwbm.com/new.asp?id=617</link>
<description><![CDATA[

以下为详细代码
&lt;a href="tencent://message/?Menu=yes&amp;uin=565449214&amp;Site=深山行者&amp;Service=300&amp;sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45"&gt;深山行者&lt;/a&gt;

 
 
 
 
 
 
 
 ]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=617</source>
<category>HTML</category>
<pubDate>2010/4/19 8:49:09</pubDate>
</item>
<item>
<guid>614</guid>
<title>网页小键盘/软键盘</title>
<link>https://www.qwbm.com/new.asp?id=614</link>
<description><![CDATA[
  
  以下为详细代码
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;软键盘&lt;/title&gt;
  &lt;script src="/UploadFiles/demo/base.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  $.fn.extend({//元素类
  plugins_keyboard:function(options){//软键盘
  return this.each(fu]]></description>
<author>admin</author>
<source>https://www.qwbm.com/new.asp?id=614</source>
<category>HTML</category>
<pubDate>2010/4/1 9:07:17</pubDate>
</item>
<item>
<guid>613</guid>
<title>点击密码框弹出小键盘</title>
<link>https://www.qwbm.com/new.asp?id=613</link>
<description><![CDATA[

以下为详细代码
&lt;div align="center"&gt;
&lt;INPUT title=登录密码 onfocus="if (hidekeyboard) { &amp;#13;&amp;#10;hidekeyboard=false;userpswdvalue=this;showkeyboard();this.readOnly=1;document.getElementById&amp;#13;&amp;#10;('Calc').password.value='';};" readOnly type=password maxLength=12 onchange="Calc.password.value=this.value;keyjiami=0;jiami = 0" name=userpswd minLength="6"&gt;
&lt;/div&gt;
&lt;SCRIPT language=javascript&gt;
window.onload=function()
{
userpswdvalue=null;  
initCalc();
}
]]></description>
<author>admin</author>
<source>https://www.qwbm.com/new.asp?id=613</source>
<category>HTML</category>
<pubDate>2010/4/1 9:02:24</pubDate>
</item>
<item>
<guid>612</guid>
<title>CSS代码格式化和压缩化</title>
<link>https://www.qwbm.com/new.asp?id=612</link>
<description><![CDATA[

以下为详细代码
    &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt; 
&lt;html&gt; 
 &lt;head&gt; 
  &lt;title&gt;CSS代码格式化和加密化&lt;/title&gt; 
  &lt;meta name="Generator" content="EditPlus"&gt; 
  &lt;meta name="Author" content=""&gt; 
  &lt;meta name="Keywords" content=""&gt; 
  &lt;meta name="Description" content=""&gt; 
 &lt;/head&gt; 
 &lt;body&gt; 
&lt;script language="JavaScript"&gt; 
&lt;!-- 
function $() { 
  var elements = new Array(); 
  for (var i = 0; i ]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=612</source>
<category>HTML</category>
<pubDate>2010/3/23 14:57:01</pubDate>
</item>
<item>
<guid>585</guid>
<title>JS自动获取TAGS关键词</title>
<link>https://www.qwbm.com/new.asp?id=585</link>
<description><![CDATA[

以下为详细代码
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=gb2312"&gt;&lt;title&gt;无标题文档&lt;/title&gt;
&lt;style&gt;
body{
	background:#E2E9ED;
	}
#title{
	font-size:12px;
	}
#title a{
	margin-top:2px;
	display:block;
	height:16px;
	line-height:16px;
	width:300px;
	cursor:poin]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=585</source>
<category>HTML</category>
<pubDate>2009/12/22 14:07:42</pubDate>
</item>
<item>
<guid>580</guid>
<title>后台编辑源码里有行号</title>
<link>https://www.qwbm.com/new.asp?id=580</link>
<description><![CDATA[

以下为详细代码
&lt;table cellpadding="0" cellspacing="1" class="table_form"&gt;
	&lt;tr&gt;
	&lt;td width="486"&gt;
&lt;textarea id='txt_ln' rows='30' cols='4' align="left" style='overflow:hidden;border-right:0px;padding-right:0px;text-align:right;scrolling:no;height:360px;font-family:Fixedsys,verdana,宋体;font-size:12px;color:#0000FF;background-color:#eeeeee;float:left;' readonly&gt;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
3]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=580</source>
<category>HTML</category>
<pubDate>2009/12/22 14:07:39</pubDate>
</item>
<item>
<guid>575</guid>
<title>iframe框架自适应高度代码</title>
<link>https://www.qwbm.com/new.asp?id=575</link>
<description><![CDATA[页面代码：
程序代码&lt;div style="border:1px solid #7e99c6" id="frameBox"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;iframe id="frameWin" src="01.html" name="opWin" style="width:100%; height:100% " frameborder="0" scrolling="no" onload="test2()"&gt;&lt;/iframe&gt;&lt;/div&gt;
js脚本（加在主页面）：
&nbsp;程序代码function test2(){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var frameWin = document.getElementById("frameWin");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var frameBox = document.getElementById("frameBox");&nbsp;&nbsp;]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=575</source>
<category>HTML</category>
<pubDate>2009/12/22 14:07:34</pubDate>
</item>
<item>
<guid>571</guid>
<title>radio单选按钮组选择详细</title>
<link>https://www.qwbm.com/new.asp?id=571</link>
<description><![CDATA[

以下为详细代码
&lt;title&gt;radio单选按钮组选择详细&lt;/title&gt;
&lt;SCRIPT LANGUAGE="JavaScript" defer&gt;
function check(){
	var r=new Array();
	var obj=document.getElementsByTagName("input")
	for(var i=0;i&lt;obj.length;i++)
		if(obj[i].type=="radio")
			if(r[obj[i].name]==null &amp;&amp; !obj[i].checked) r[obj[i].name]=obj[i].name
			else if(obj[i].checked) r[obj[i].name]=0
		for(var i in r)
		if(r[i]!=0){alert(r[i]+"没选择");
		return false;
	}
}
&lt;/SCRIPT&gt;
&lt;form name=form1 onsubm]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=571</source>
<category>HTML</category>
<pubDate>2009/9/26 10:02:24</pubDate>
</item>
<item>
<guid>570</guid>
<title>radio组选择详细</title>
<link>https://www.qwbm.com/new.asp?id=570</link>
<description><![CDATA[同名称的radio表示为一组radio
当我们提交个页面处理的时候
如果利用循环语句改变了radio每个的值，哪么我们用
str=request.Form("Che")response.Write(str)
得到的是你选择按钮的值（radio只能选择其中一个）
不同名称的可以选择多个
例子：
&lt;%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=gb2312" /&gt;&lt;title&gt;radio组选择详细&lt;/title&gt;]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=570</source>
<category>HTML</category>
<pubDate>2009/9/26 9:59:11</pubDate>
</item>
<item>
<guid>568</guid>
<title>optgroup 标签</title>
<link>https://www.qwbm.com/new.asp?id=568</link>
<description><![CDATA[optgroup 标签&nbsp;&nbsp;&nbsp; 作用： 标签可以给select中的option进行分组，这在下拉项目很多的时候很有用，配合label标签给每组命名。你也可以像淘宝那样给每组用css定义不同的颜色。


以下为详细代码
&lt;select&gt;
    &lt;optgroup label="自驾游"&gt; &lt;!--配合label标签给每组命名--&gt;
        &lt;option&gt;省内&lt;/option&gt;
        &lt;option&gt;省外&lt;/option&gt;
    &lt;/optgroup&gt;
    &lt;optgroup label="旅行社"&gt;
        &lt;option&gt;省内&lt;/option&gt; 
        &lt;option&gt;省外&lt;/option&gt; 
        &lt;option&gt;国外&lt;/option&gt; 
    &lt;/optgroup&gt; 
&lt;/s]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=568</source>
<category>HTML</category>
<pubDate>2009/9/19 8:49:25</pubDate>
</item>
<item>
<guid>567</guid>
<title>设置两个未知高度的DIV保持等高</title>
<link>https://www.qwbm.com/new.asp?id=567</link>
<description><![CDATA[&lt;script type="text/javascript"&gt;&nbsp;var mainCon=document.getElementById("mainr").scrollHeight&nbsp;var sidebar=document.getElementById("mainl").scrollHeight&nbsp;layoutHeight=Math.max(mainCon,sidebar)&nbsp;document.getElementById("mainl").style.height=layoutHeight+"px"&nbsp;document.getElementById("mainr").style.height=layoutHeight+"px"&lt;/script&gt;]]></description>
<author>深山行者</author>
<source>https://www.qwbm.com/new.asp?id=567</source>
<category>HTML</category>
<pubDate>2009/9/18 17:22:27</pubDate>
</item>
</channel>
</rss>
