透明背景
白色背景
<script charset="Shift_JIS" src="http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_tr.js"></script>
白色背景
<script charset="Shift_JIS" src="http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_wh.js"></script>
利用HTML写出各种各样的分割线
[
July 20, 2009 15:42 | by baobao ]
July 20, 2009 15:42 | by baobao ]
1、<HR>
--------------------------------------------------------------------------------
2、<HR align=center width=300 color=#987cb9 SIZE=1>
align 线条位置(可选left、right、center);width 线条长度;color 颜色;size 厚度
--------------------------------------------------------------------------------
二、特效(效果并不是孤立的,可相互组合)
1、两头渐变透明:
<HR style="FILTER: alpha(opacity=100,finishopacity=0,style=3)" width="80%" color=#987cb9 SIZE=3>
--------------------------------------------------------------------------------
2、<HR align=center width=300 color=#987cb9 SIZE=1>
align 线条位置(可选left、right、center);width 线条长度;color 颜色;size 厚度
--------------------------------------------------------------------------------
二、特效(效果并不是孤立的,可相互组合)
1、两头渐变透明:
<HR style="FILTER: alpha(opacity=100,finishopacity=0,style=3)" width="80%" color=#987cb9 SIZE=3>
<meta http-equiv="Page-Exit" content="revealTrans(Duration=3,Transition=5)">
此代码可以在链接其它页面的时候产生一种过度的特效,Duration 的值为网页动态过渡的时间,单位为秒。 Transition 是过渡方式,它的值为0到23,分别对应24种过渡方式。
如下:
0 盒状收缩
1 盒状放射
2 圆形收缩
3 圆形放射
4 由下往上
5 由上往下
6 从左至右
7 从右至左
8 垂直百叶窗
9 水平百叶窗
10 水平格状百叶窗
11垂直格状百叶窗
12 随意溶解
13从左右两端向中间展开
14从中间向左右两端展开
15从上下两端向中间展开
16从中间向上下两端展开
17 从右上角向左下角展开
18 从右下角向左上角展开
19 从左上角向右下角展开
20 从左下角向右上角展开
21 水平线状展开
22 垂直线状展开
23 随机产生一种过渡方式
版主已阅插件 for dz7.0
[
December 26, 2008 00:47 | by baobao ]
December 26, 2008 00:47 | by baobao ]
作者:可爱糖酱
[align=center]本帖出自 http://www.discuz.net/thread-1109928-1-1.html
本资源版权归属 DisHack.Com & 原作者 所有
如果转载请注明版权信息 [点此复制版权信息][/align]
[table][tr][td]DH友情提示:本插件涉及到数据库升级!涉及文件多个,记得备份!
第一步:升级数据库: [list=1][*]ALTER TABLE `cdb_threads` ADD `markread` VARCHAR( 255 ) NOT NULL;[*]ALTER TABLE `cdb_threads` ADD `markuser` VARCHAR( 255 ) NOT NULL;[/list]
第二步:修改topicadmin.php
查找: [list=1][*]} elseif($action == 'delpost') {[/list]
在其上面加上: [list=1][*]//---os版主已阅 开始 -------------------[*][*]} elseif($action == 'modmarkread' && $post) {[*] $db->query("UPDATE {$tablepre}threads SET markread='$post\t$discuz_user\t$timestamp' WHERE tid='$tid'");[*] showmessage('admin_succeed', "forumdisplay.php?fid=$fid&page=$fpage");[*]//---os版主已阅 结束---------------------[/list]
*注:这样点“已阅”后,会自动返回到列表的第一页中,如需点“已阅”后返回所在内容页中,刚将上面的代码改成: [list=1][*]//---os版主已阅 开始 ---------------------[*]} elseif($action == 'modmarkread' && $post) {[*] $db->query("UPDATE {$tablepre}threads SET markread='$post\t$discuz_user\t$timestamp' WHERE tid='$tid'");[*] showmessage('admin_succeed', "viewthread.php?tid=$thread[tid]&extra=$extra[*]");[*]//---os版主已阅 结束----------------------[/list]
第三步:修改forumdisplay.php
查找: [list=1][*]$thread['moved'] = 0;[/list]
其上面加上 [list=1][*]//---os版主已阅 开始------------------[*] if($thread['markread']){[*] $thread['markread'] = explode("\t", $thread['markread']);[*] $thread['markread'][2] = gmdate("$dateformat $timeformat", $thread['markread'][2] + $timeoffset * 3600);[*] $thread['markreadpage'] = ceil($thread['markread'][0] / $ppp);[*] $thread['markreadpage'] = $thread['markreadpage'] != 1 ? $thread['markreadpage'].' 页 ' : '' ;[*] }[*]//---os版主已阅 结束 ------------------[/list]
第四步:修改viewthread.php
查找: [list=1][*]$thisgid = 0;[/list]
在其后面加上: [list=1][*]//---os版主已阅 开始--------------------[*]$thread['markread'] = explode("\t", $thread['markread']);[*]$thread['markuser'] = explode("\t", $thread['markuser']);[*]//---os版主已阅 结束--------------------[/list]
第五步:修改你所使用风格模板中的forumdisplay.htm,如果没有,就修改默认模板里面的
查找: [list=1][*]<span id="thread_$thread[tid]">[/list]
在其后面加上: [list=1][*]<!--{if $thread['markread']}-->[*] <span alt='{lang moderator}: $thread['markread'][1]{LF}{lang time}: $thread['markread'][2]'>[*] [$thread['markread'][1][*] <!--{if ($thread['markread'][0] - 1) <> $thread['replies']}-->[*] 阅至: $thread['markreadpage'] $thread['markread'][0] 楼][*] <!--{else}-->[*] 已阅][*] <!--{/if}-->[*] </span>[*] <!--{/if}-->[/list]
如果想换成版主查水至XX楼这样的,可以改成: [list=1][*]<!--{if $thread['markread']}-->[*] <span alt='{lang moderator}: $thread['markread'][1]{LF}{lang time}: $thread['markread'][2]'>[*] [$thread['markread'][1][*] <!--{if ($thread['markread'][0] - 1) <> $thread['replies']}-->[*] 查水至: $thread['markreadpage'] $thread['markread'][0] 楼][*] <!--{else}-->[*] 已阅][*] <!--{/if}-->[*] </span>[*] <!--{/if}-->[/list]
第六步:修改你所使用风格模板中的viewthread_node.htm,如果没有,就修改默认模板里面的
查找: [list=1][*]<a href="javascript:;">TOP</a>[/list]
在上面加入: [list=1][*]<!--{if in_array($adminid, array(1,2,3))}--><!--{if $forum['ismoderator'] || ($thread[markread][0] < $post[number])}--> <a href="topicadmin.php?action=modmarkread&tid=$tid&post=$post[number] ">已阅</a><!--{/if}--><!--{/if}-->[/list]
好了安装结束,去测试一下吧~[/td][/tr][/table]
[align=center]本帖出自 http://www.discuz.net/thread-1109928-1-1.html
本资源版权归属 DisHack.Com & 原作者 所有
如果转载请注明版权信息 [点此复制版权信息][/align]
[table][tr][td]DH友情提示:本插件涉及到数据库升级!涉及文件多个,记得备份!
第一步:升级数据库: [list=1][*]ALTER TABLE `cdb_threads` ADD `markread` VARCHAR( 255 ) NOT NULL;[*]ALTER TABLE `cdb_threads` ADD `markuser` VARCHAR( 255 ) NOT NULL;[/list]
第二步:修改topicadmin.php
查找: [list=1][*]} elseif($action == 'delpost') {[/list]
在其上面加上: [list=1][*]//---os版主已阅 开始 -------------------[*][*]} elseif($action == 'modmarkread' && $post) {[*] $db->query("UPDATE {$tablepre}threads SET markread='$post\t$discuz_user\t$timestamp' WHERE tid='$tid'");[*] showmessage('admin_succeed', "forumdisplay.php?fid=$fid&page=$fpage");[*]//---os版主已阅 结束---------------------[/list]
*注:这样点“已阅”后,会自动返回到列表的第一页中,如需点“已阅”后返回所在内容页中,刚将上面的代码改成: [list=1][*]//---os版主已阅 开始 ---------------------[*]} elseif($action == 'modmarkread' && $post) {[*] $db->query("UPDATE {$tablepre}threads SET markread='$post\t$discuz_user\t$timestamp' WHERE tid='$tid'");[*] showmessage('admin_succeed', "viewthread.php?tid=$thread[tid]&extra=$extra[*]");[*]//---os版主已阅 结束----------------------[/list]
第三步:修改forumdisplay.php
查找: [list=1][*]$thread['moved'] = 0;[/list]
其上面加上 [list=1][*]//---os版主已阅 开始------------------[*] if($thread['markread']){[*] $thread['markread'] = explode("\t", $thread['markread']);[*] $thread['markread'][2] = gmdate("$dateformat $timeformat", $thread['markread'][2] + $timeoffset * 3600);[*] $thread['markreadpage'] = ceil($thread['markread'][0] / $ppp);[*] $thread['markreadpage'] = $thread['markreadpage'] != 1 ? $thread['markreadpage'].' 页 ' : '' ;[*] }[*]//---os版主已阅 结束 ------------------[/list]
第四步:修改viewthread.php
查找: [list=1][*]$thisgid = 0;[/list]
在其后面加上: [list=1][*]//---os版主已阅 开始--------------------[*]$thread['markread'] = explode("\t", $thread['markread']);[*]$thread['markuser'] = explode("\t", $thread['markuser']);[*]//---os版主已阅 结束--------------------[/list]
第五步:修改你所使用风格模板中的forumdisplay.htm,如果没有,就修改默认模板里面的
查找: [list=1][*]<span id="thread_$thread[tid]">[/list]
在其后面加上: [list=1][*]<!--{if $thread['markread']}-->[*] <span alt='{lang moderator}: $thread['markread'][1]{LF}{lang time}: $thread['markread'][2]'>[*] [$thread['markread'][1][*] <!--{if ($thread['markread'][0] - 1) <> $thread['replies']}-->[*] 阅至: $thread['markreadpage'] $thread['markread'][0] 楼][*] <!--{else}-->[*] 已阅][*] <!--{/if}-->[*] </span>[*] <!--{/if}-->[/list]
如果想换成版主查水至XX楼这样的,可以改成: [list=1][*]<!--{if $thread['markread']}-->[*] <span alt='{lang moderator}: $thread['markread'][1]{LF}{lang time}: $thread['markread'][2]'>[*] [$thread['markread'][1][*] <!--{if ($thread['markread'][0] - 1) <> $thread['replies']}-->[*] 查水至: $thread['markreadpage'] $thread['markread'][0] 楼][*] <!--{else}-->[*] 已阅][*] <!--{/if}-->[*] </span>[*] <!--{/if}-->[/list]
第六步:修改你所使用风格模板中的viewthread_node.htm,如果没有,就修改默认模板里面的
查找: [list=1][*]<a href="javascript:;">TOP</a>[/list]
在上面加入: [list=1][*]<!--{if in_array($adminid, array(1,2,3))}--><!--{if $forum['ismoderator'] || ($thread[markread][0] < $post[number])}--> <a href="topicadmin.php?action=modmarkread&tid=$tid&post=$post[number] ">已阅</a><!--{/if}--><!--{/if}-->[/list]
好了安装结束,去测试一下吧~[/td][/tr][/table]
【BO-BLOG】Js调用最新日志,随机日志,点击最多日志.集成官方版
[
December 24, 2008 01:24 | by baobao ]
December 24, 2008 01:24 | by baobao ]
程式名稱:Js调用最新日志,随机日志,点击最多文章.
dz all 几种页面过渡效果
[
December 13, 2008 21:19 | by baobao ]
December 13, 2008 21:19 | by baobao ]
安装办法:打开后台全局--优化设置--搜索引擎优化--其他头部信息--OK(如果熟悉模板可以插入任意版块)
1.
<meta http-equiv="page-Enter" content="blendTrans(Duration=0.5)">
2.
<meta http-equiv="page-Exit" content="blendTrans(Duration=0.5)">
<META http-equiv=Page-Exit
content=progidXImageTransform.Microsoft.Pixelate(Duration=4)><!-- InstanceBeginEditable name="doctitle" -->
3.
<meta http-equiv="page-Exit" content="revealTrans(Duration=3,Transition=12)">
复制代码此代码可以在链接其它页面的时候产生一种过度的特效,Duration 的值为网页动态过渡的时间,单位为秒。 Transition 是过渡方式,它的值为0到23,分别对应24种过渡方式。
0 盒状收缩
1.
<meta http-equiv="page-Enter" content="blendTrans(Duration=0.5)">
2.
<meta http-equiv="page-Exit" content="blendTrans(Duration=0.5)">
<META http-equiv=Page-Exit
content=progidXImageTransform.Microsoft.Pixelate(Duration=4)><!-- InstanceBeginEditable name="doctitle" -->
3.
<meta http-equiv="page-Exit" content="revealTrans(Duration=3,Transition=12)">
复制代码此代码可以在链接其它页面的时候产生一种过度的特效,Duration 的值为网页动态过渡的时间,单位为秒。 Transition 是过渡方式,它的值为0到23,分别对应24种过渡方式。
0 盒状收缩
防止小偷和采集工具的ASP代码
[
November 22, 2008 20:50 | by baobao ]
November 22, 2008 20:50 | by baobao ]
防止一般的采集以及小偷读取,加在顶部。同理,可以改造成JS脚本。






