39 1234
发新话题
打印

[分享] 教你自己制作首页四格

教你自己制作首页四格

把代码放到论坛的第一个版块简介,
兰色部分修改为自己想显示的内容.
红色部分修改为自己论坛后台的JS.
 
 
 
 
 
 
 
 
 
 
引用:
<head>
<meta http-equiv="Content-Type" c>
<meta name="GENERATOR" c>
<meta name="ProgId" c>
<title>New Page 1</title>
<meta http-equiv="Content-Type" c>
<meta name="GENERATOR" c>
<meta name="ProgId" c>
<title>New Page 1</title>
<style>
<!--

a:link,a:visited        { text-decoration: none; color: #000000 }
a:hover                        { text-decoration: underline }
body                        { scrollbar-base-color: #8E0201; scrollbar-arrow-color: #8E0201; font-size: 12px }
table                        { font-family: Georgia, Tahoma, Verdana; color: #000000; font-size: 12px }
textarea,input,object        { font-family: Georgia, Tahoma, Verdana; font-size: 12px;  color: #000000; font-weight: normal }
select                        { font-family: Tahoma; font-size: 11px;  color: #000000; font-weight: normal }
.nav                        { font-family: Georgia, Tahoma, Verdana; font-size: 12px; font-weight: bold }
.header                        { font-family: Georgia, Tahoma, Verdana; font-size: 12px; color: #000000; font-weight: bold }
.category                { font-family: Tahoma; font-size: 12px; color: #000000; }
.multi                        { font-family: Tahoma; font-size: 11px; color: #000000; }
.smalltxt                { font-family: Tahoma; font-size: 11px }
.mediumtxt                { font-family: Georgia, Tahoma, Verdana; font-size: 12px; color: #000000 }
.bold                        { font-weight: bold }
-->
</style>

</head>

<body>
<TABLE borderColor=#dde3ec border=1>
<TBODY>
<TR>

<TABLE width="100%" border=1 borderColor=#108EDE>
<TBODY>
<TR>
<TD colspan="5">
<FONT color=#0000ff 12px font-size:><STRONG>  
</FONT></STRONG></FONT></TD>
<TR>
<TD height="27">
<P align=center> <FONT color=#000000 size=2><STRONG>论坛最新主题</STRONG></FONT></P></TD>
<TD height="27">
<P align=center><STRONG><FONT color=#000000 size=2> 论坛最新回复</FONT></STRONG></P></TD>
<TD height="27">
<P align=center> <STRONG><FONT color=#000000 size=2>论坛热门主题</FONT></STRONG></P></TD>
<TD height="27">
<P align=center><STRONG><FONT color=#000000 size=2> 论坛最新图片</FONT></STRONG></P></TD>
<TR>
<TD width=200 background="" height=173><MARQUEE scrollAmount=1 direction=up width=174 height=150><script language="JavaScript" src="http://haha365.love.topzj.com/api/javascript.php?key=threads_EvF"></script></marquee></TD>   
<TD width=200 background="" height=173><MARQUEE scrollAmount=1 direction=up width=174 height=150><script language="JavaScript" src="http://haha365.love.topzj.com/api/javascript.php?key=threads_zMw"></script></marquee></TD>   
<TD width=200 background="" height=173><MARQUEE scrollAmount=1 direction=up width=174 height=150><script language="JavaScript" src="http://haha365.love.topzj.com/api/javascript.php?key=threads_Zl5"></script></marquee></TD>
<TD width=170 background="" height=173><MARQUEE scrollAmount=1 direction=up width=174 height=150><script language="JavaScript" src="http://haha365.love.topzj.com/api/javascript.php?key=images_GmZ"></script></marquee></TD>
</SCRIPT>

TOP

补充一下:忘记发演示地址了,实在不好意思!
演示地址
http://cdh.edu.topzj.com/index.php
http://xiuxianit.91.tc//Js/15index.htm

TOP

提示: 作者被禁止或删除 内容自动屏蔽

TOP

不错的代码,多谢分享,支持下。

TOP

这样子的呀~~
百度搜索小国百科
第一条就是本站
91TC空间
wwwh.lingd.net

TOP

可以啊,不知道今天有没有时间了.

TOP

楼主  你帮我弄下好吗  我看见Js就变傻了

TOP

請問

JS是什麼?

TOP

记得好象要先存为html然后再用代码弄到第一个版块
- -
你少了

TOP

保存为xxx.htm文件上传空间
然后把这个代码放入论坛第一版块论坛简介处:

</td><iframe border=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 height=195  framespacing=0 frameborder=0 scrolling=no width=100%  src=你的空间地址/xxx.htm></iframe>

TOP

 39 1234
发新话题