蓝雨 发表于 2007-6-15 01:52:00

[分享]Dvbbs 7.1 SP1版本7种醒目标题的添加方法

<font color=\"#000000\"><p><font size=\"3\">具体操作方法如下:</font></p><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><br/></font></p><p><font size=\"2\">提交保存,OK,现在搞定收功了。</font></p><p><font size=\"3\"></font></p></font><font size=\"3\">**** Hidden Message *****<br/>
[此贴子已经被作者于2007-6-21 10:14:57编辑过]
页: [1] 2 3 4 5
查看完整版本: [分享]Dvbbs 7.1 SP1版本7种醒目标题的添加方法