蓝雨 发表于 2007-6-21 15:45:00

蓝雨论坛Dvbbs 8.0版本7种醒目标题的添加方法

<font size=\"3\">具体操作方法如下:</font><p><font size=\"3\">为了保证功能的正常,你得先将DV 7.1下用到的INC\\z_HighlightTopic目录复制到SP1的INC目录下,要保证有如下几个文件z_FlashText.htc、z_ResizeText.htc、z_timer.js和z_WaveText.htc这四个文件。</font></p><p><font size=\"3\">如果你没有这几个文件,那下请点击下面进行下载。</font></p><p><br/><font size=\"2\">现在我们打开BBS的后台分页模板page_post,在template.html(6)中找到</font></p><p><font size=\"2\"><select name=\"topicximoo\"><option value=\"0\">标题醒目</option><option value=\"1\">HTML支持</option><option value=\"2\">红色醒目</option><option value=\"3\">蓝色醒目</option><option value=\"4\">绿色醒目</option></select></font></p><p><font size=\"2\">将其替换为</font></p><p><font size=\"2\"><select name=\"topicximoo\"><option value=\"0\">标题醒目</option><option value=\"1\">HTML支持</option><option value=\"2\">红色醒目</option><option value=\"3\">蓝色醒目</option><option value=\"4\">绿色醒目</option><option value=5>紫框醒目</option><option value=6>绿框醒目</option><option value=7>红框醒目</option><option value=8>蓝框醒目</option><option value=9>霓虹醒目</option><option value=10>跳跃醒目</option><option value=\"/blog/11>突出醒目</option></select></font></p><p><font size=\"2\">后提交更新数据库</font></p><p><font size=\"2\">然后打开Page_Index分页模板,在template.html(1)中找到</font></p><p><font size=\"2\"><xsl:when\" test=\"@topicmode=\'4\'\"><br/><font color=\"green\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></font><br/></xsl:when><br/><br/>在下面加入</font></p><p><font size=\"2\"><xsl:when test=\"@topicmode=\'5\'\"><br/><span style=\"border:solid 1px #DD2292;border-left-width:5px;border-left-color:#DD2292;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></span><br/></xsl:when><br/> <xsl:when test=\"@topicmode=\'6\'\"><br/><span style=\"border:solid 1px #55AA55;border-left-width:5px;border-left-color:#55AA55;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></span><br/></xsl:when><br/> <xsl:when test=\"@topicmode=\'7\'\"><br/><span style=\"border:solid 1px #cc0000;border-left-width:5px;border-left-color:#cc0000;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></span><br/></xsl:when><br/> <xsl:when test=\"@topicmode=\'8\'\"><br/><span style=\"border:solid 1px #0000cc;border-left-width:5px;border-left-color:#0000cc;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></span><br/></xsl:when><br/> <xsl:when test=\"@topicmode=\'9\'\"><br/><font textcolor1=\"#FFFF00\" textbkcolor1=\"transparent\" textcolor2=\"#FFCC99\" textbkcolor2=\"transparent\" speed=\"100\" letters1=\"1\" letters2=\"1\" pause=\"500\" style=\"behavior:url(/blog/inc/z_HighlightTopic/z_FlashText.htc);color:#c000c0;background-color:transparent\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></font><br/></xsl:when><br/> <xsl:when test=\"@topicmode=\'10\'\"><br/><font textoffset1=\"-4\" textoffset2=\"-2\" speed=\"100\" letters1=\"1\" letters2=\"1\" pause=\"1000\" style=\"behavior:url(/blog/inc/z_HighlightTopic/z_WaveText.htc);color:#FF6600;background-color:transparent\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></font><br/></xsl:when><br/> <xsl:when test=\"@topicmode=\'11\'\"><br/><font textcolor=\"#ff0000\" basesize=\"12\" textsize1=\"16\" textsize2=\"14\" speed=\"100\" letters1=\"1\" letters2=\"1\" pause=\"500\" style=\"behavior:url(/blog/inc/z_HighlightTopic/z_ResizeText.htc);color:#993300;background-color:transparent;\"><xsl:choose><br/><xsl:when test=\"string-length(@title) &gt; 30 \"><xsl:value-of select=\"concat(substring(@title,0,20),\'....\',substring(@title,(string-length(@title)- 10 ),string-length(@title)))\" disable-output-escaping=\"yes\"/>[长]</xsl:when><br/><xsl:otherwise><xsl:value-of select=\"@title\" disable-output-escaping=\"yes\"/></xsl:otherwise><br/></xsl:choose></font><br/></xsl:when></font></p><p><font size=\"2\"><br/>**** Hidden Message *****
[此贴子已经被作者于2007-8-23 11:25:23编辑过]

s130681 发表于 2007-7-4 16:30:00

envision 发表于 2007-7-4 17:32:00

ghostsun 发表于 2007-7-5 16:27:00

qq50663950 发表于 2007-7-6 10:01:00

skybluejun 发表于 2007-7-18 12:24:00

wyc007 发表于 2007-7-24 16:03:00

蓝雨 发表于 2007-8-9 09:40:00

<p></p>

龙吟九天 发表于 2007-9-11 01:58:00

蓝雨 发表于 2007-9-14 11:43:00

<p>如果发现不显示 请检查文件的位置</p>
页: [1]
查看完整版本: 蓝雨论坛Dvbbs 8.0版本7种醒目标题的添加方法