|
前天,发了一帖“让流量暴涨!!!!”
http://bbs.asp163.net/dispbbs.asp?BoardID=47&ID=131687
得到了朋友们的大力支持,经过两天的摸索,终于把论坛的使用方法应用到了动易的文章系统,效果演示
http://www.yn98.com
点开任一篇文章,你会在文章的标题下面看到如图所示的效果,点“收藏此页”,就可把此文章提交到新浪,上新浪的的人就可点此链接,进入你的站,实现流量暴涨。
此主题相关图片如下:

代码如下,应用时,打开你的文章模板--内容模板,把以下代码换了原代码就行了,注意,把红色的http://www.yn98.com 换成你的网址,另外,此代码为动易原版模板,如果你换过内容模板,需要对代码作相应改动。
另:使用前,先保存一下你的原代码,万一不好用,还可以恢复
<html> <head> <title>{$PageTitle}</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style type="text/css"> <!-- .style1 {color: #0099cc} --> </style> {$Skin_CSS} {$MenuJS} <script language="javascript" type="text/javascript"> //改变图片大小 function resizepic(thispic) { if(thispic.width>700) thispic.width=700; } //无级缩放图片大小 function bbimg(o) { var zoom=parseInt(o.style.zoom, 10)||100; zoom+=event.wheelDelta/12; if (zoom>0) o.style.zoom=zoom+'%'; return false; } //双击鼠标滚动屏幕的代码 var currentpos,timer; function initialize() { timer=setInterval ("scrollwindow ()",30); } function sc() { clearInterval(timer); } function scrollwindow() { currentpos=document.body.scrollTop; window.scroll(0,++currentpos); if (currentpos !=document.body.scrollTop) sc(); } document.onmousedown=sc document.ondblclick=initialize
//更改字体大小 var status0=''; var curfontsize=10; var curlineheight=18; function fontZoomA(){ if(curfontsize>8){ document.getElementById('fontzoom').style.fontSize=(--curfontsize)+'pt'; document.getElementById('fontzoom').style.lineHeight=(--curlineheight)+'pt'; } } function fontZoomB(){ if(curfontsize<64){ document.getElementById('fontzoom').style.fontSize=(++curfontsize)+'pt'; document.getElementById('fontzoom').style.lineHeight=(++curlineheight)+'pt'; } } </script> </head> <body leftmargin=0 topmargin=0 {$ArticleProtect}> <div id=menuDiv style="Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8"></div> <table class=top_tdbgall style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=760 align=center border=0> <!--顶部空距代码--> <tr> <td class=top_top colSpan=2></td> </tr> <!--频道显示代码--> <tr> <td class=top_Channel align=right colSpan=2> <P align=left>{$ShowChannel}<A title=收藏的网页将被永久地保存到新浪ViVi收藏夹http://vivi.sina.com.cn href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=http://www.yn98.com&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();"></A></P></td> </tr> <tr> <td align=middle>{$ShowLogo(180,60)}</td> <td align=middle>{$ShowBanner(580,60)}</td> </tr> <tr> <td class=top_nav_menu vAlign=center colSpan=2> <script language="javascript1.2" type="text/javascript" src="{$InstallDir}{$ChannelDir}/JS/ShowClass_Menu.js"></script></td> </tr> </table> <!--导航代码开始--> <table class=top_Path style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr> <td align=middle width="5%"><IMG height=11 src="{$InstallDir}Images/arrow3.gif" width=29></td> <td width="73%">{$ShowPath}</td> <td align=right width="22%"><IMG height=13 src="{$InstallDir}Images/User_Login.gif" width=13 align=absMiddle> <A class=top_UserLogin href="{$InstallDir}User/User_Login.asp" target=_blank>用户登录</A> <IMG height=13 src="{$InstallDir}Images/User_Reg.gif" width=13 align=absMiddle> <A class=top_UserLogin href="{$InstallDir}Reg/User_Reg.asp" target=_blank>新用户注册</A> </td> </tr> </table> <!--导航代码结束--> <!-- ********网页顶部代码结束******** --> <!-- ********网页中部代码开始******** --> <!--文章显示代码开始--> <table class=center_tdbgall style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr> <td colSpan=2> <table class=main_title_760 style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width="100%" border=0> <tr> <td vAlign=center width="3%"><IMG src="{$InstallDir}Images/arrow.gif" align=absMiddle></td> <td width="66%"><STRONG>{$ArticleTitle2}</STRONG></td> <td width="18%">{$ArticleProperty}</td> <td align=right width="13%">【字体:<A href="javascript:fontZoomA();"><FONT color=#ffffff>小</FONT></A> <A href="javascript:fontZoomB();"><FONT color=#ffffff>大</FONT></A>】</td> </tr> </table> </td> </tr> <tr vAlign=center align=middle> <td class=main_ArticleTitle style="WORD-BREAK: break-all" colSpan=2 height=50>{$ArticleTitle}</td> </tr> <tr vAlign=center align=middle> <td class=main_ArticleSubheading style="WORD-BREAK: break-all" colSpan=2>{$ArticleSubheading}</td> </tr> <tr align=middle> <td class=Article_tdbgall colSpan=2>{$ArticleInfo}<A title=收藏的网页将被永久地保存到新浪ViVi收藏夹http://vivi.sina.com.cn href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=http://www.yn98.com&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();"><IMG src="/Article/UploadFiles/200505/20050511055400889.gif" border=0></A></td> </tr> <tr> <td class=main_tdbg_760 id=fontzoom style="WORD-BREAK: break-all" vAlign=top colSpan=2 height=300> <table cellSpacing=0 cellPadding=10 align=left border=0> <tr> <td>{$ShowAD}</td> </tr> </table> {$ArticleContent} </td> </tr> <tr> <td class=Article_tdbgall align=right colSpan=2>{$ArticleEditor} </td> </tr> <tr> <td width=5></td> <td width=752>{$PrevArticle}<BR>{$NextArticle}</td> </tr> <tr class=Article_tdbgall align=right> <td colSpan=2>{$ArticleAction} </td> </tr> </table> <table class=center_tdbgall cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr> <td class=main_shadow></td> </tr> </table> <!--文章显示代码结束--> <!--最新热点、最新推荐、相关文章代码开始--> <table class=center_tdbgall style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr> <td class=main_title_282 width="33%"><B>最新热点</B></td> <td width=5 rowSpan=2></td> <td class=main_title_282 width="33%"><B>最新推荐</B></td> <td width=5 rowSpan=2></td> <td class=main_title_282 width="33%"><B>相关{$ChannelShortName}</B></td> </tr> <tr> <td class=main_tdbg_760 vAlign=top height=100> <script language="javascript" src="{$InstallDir}{$ChannelDir}/JS/Article_Hot3.js"></script></td> <td class=main_tdbg_760 vAlign=top width="33%"> <script language="javascript" src="{$InstallDir}{$ChannelDir}/JS/Article_Elite3.js"></script></td> <td class=main_tdbg_760 vAlign=top width="33%">{$CorrelativeArticle}</td> </tr> </table> <table class=center_tdbgall cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr> <td class=main_shadow></td> </tr> </table> <!--最新热点、最新推荐、相关文章代码结束--> <!--网友评论代码开始--> <table class=center_tdbgall style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr class=main_title_760> <td height=25> <IMG src="{$InstallDir}Images/TEAM.gif" align=absMiddle> <STRONG>网友评论:</STRONG>(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) </td> </tr> <tr> <td class=main_tdbg_760> <script language="javascript" src="{$InstallDir}{$ChannelDir}/Comment.asp?Action=JS&ArticleID={$ArticleID}"></script> </td> </tr> </table> <table class=center_tdbgall cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr> <td class=main_shadow></td> </tr> </table> <!--网友评论代码结束--> <!-- ********网页中部代码结束******** --> <!-- ********网页底部代码开始******** --> <table class=Bottom_tdbgall style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=760 align=center border=0> <tr align=middle> <td class=Bottom_Adminlogo colSpan=2>| <A class=Bottom onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{$SiteUrl}');" href="{$InstallDir}editor.asp?ChannelID=1&Template=Template&TemplateModify=1&tContentid=EditorContent#">设为首页</A> | <A class=Bottom href="javascript:window.external.addFavorite('{$SiteUrl}','{$SiteName}');">加入收藏</A> | <A class=Bottom href="mailt{$WebmasterEmail}">联系站长</A> | <A class=Bottom href="{$InstallDir}FriendSite/Index.asp" target=_blank>友情链接</A> | <A class=Bottom href="{$InstallDir}Copyright.asp" target=_blank>版权申明</A> | {$ShowAdminLogin}</td> </tr> <tr class=Bottom_Copyright> <td width="20%"><IMG height=55 src="{$InstallDir}Skin/blue/powerease_logo.gif" width=165></td> <td width="80%">{$Copyright} 站长:<A href="mailt{$WebmasterEmail}">{$WebmasterName}</A> </td> </tr> </table> <!-- ********网页底部代码结束******** --> </body> </html>
[此贴子已经被作者于2005-5-10 9:43:40编辑过]
|