Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

首页n格的问题整理与解决[最后更新:2007.11.05 JS调用附件]

[复制链接]
yaki520 发表于 2007-7-24 13:32:12 | 显示全部楼层

还是回复,浏览的问题

加了显示回复和浏览,能显示出来了,但是不是很整齐,怎么能实现整齐排列么?
回复

使用道具 举报

习明 发表于 2007-7-24 13:43:40 | 显示全部楼层
重新规划表格 把标题放在一个格里 后面的计数放在单独一个格里
回复

使用道具 举报

yaki520 发表于 2007-7-24 13:47:14 | 显示全部楼层
原帖由 习明 于 2007-7-24 13:43 发表
重新规划表格 把标题放在一个格里 后面的计数放在单独一个格里




是么,我实在是不懂。。在哪个文件里,怎么动代码。。。谢谢了,我QQ176578007
回复

使用道具 举报

会飞的鱼1985 发表于 2007-7-24 13:47:17 | 显示全部楼层
刁明你看我的网站,首页四格不显示
www.lovehashiqi.com
回复

使用道具 举报

会飞的鱼1985 发表于 2007-7-24 14:04:26 | 显示全部楼层
我的网站有最新上传的附件但是不显示
回复

使用道具 举报

冷面神 发表于 2007-7-24 14:25:00 | 显示全部楼层

修改贴子标题长短的方法

麻烦明版说一下,长短是在toplist.htm里面修改吗

如果是应该修改哪里,麻烦你了~

<div class="toplist">
  <div class="toplist2" style="border-top: none">
    <div style="float: left; width: 420px; text-align: left">
      <script type="text/javascript">
var varText = ""
function addInfo(title,photourl,link){
if(varText!=""){
varText+="|||";
}
varText+=title+"|_|"+photourl+"|_|"+link;
}
linkarr = new Array();
picarr = new Array();
textarr = new Array();
linkarr[1] = "index.php";
picarr[1] = "{IMGDIR}/toplist/1.jpg";
textarr[1] = "测试图片效果之1";
linkarr[2] = "index.php";
picarr[2] = "{IMGDIR}/toplist/2.jpg";
textarr[2] = "测试图片效果之2";
linkarr[3] = "index.php";
picarr[3] = "{IMGDIR}/toplist/3.jpg";
textarr[3] = "测试图片效果之3";
linkarr[4] = "index.php";
picarr[4] = "{IMGDIR}/toplist/4.jpg";
textarr[4] = "测试图片效果之4";
linkarr[5] = "index.php";
picarr[5] = "{IMGDIR}/toplist/5.jpg";
textarr[5] = "测试图片效果之5";

addInfo(textarr[1],picarr[1],linkarr[1]);
addInfo(textarr[2],picarr[2],linkarr[2]);
addInfo(textarr[3],picarr[3],linkarr[3]);
addInfo(textarr[4],picarr[4],linkarr[4]);
addInfo(textarr[5],picarr[5],linkarr[5]);

document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="410" height="200" id="01" align="middle">')
document.write('<param name="allowScriptAccess" value="sameDomain" />')
document.write('<param name="movie" value="http://bbs.yoyyy.com/flash.swf?info='+varText+'" />')
document.write('<param name="quality" value="high" />')
document.write('<param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" />')
document.write('<embed src="{IMGDIR}/toplist/flash.swf" quality="high" bgcolor="#ffffff" width="410" height="200" name="01" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
document.write('</object>')
</script>
    </div>
    <div style="float: left; width: 26%; height: 200px">
      <ul class="lbox" style="clear: both">
        <img src="{IMGDIR}/toplist/newspost.gif" />
      </ul>
      <!--{loop $new_post_threadlist $nthread}-->
      <!--{if $nthread[replies]}-->
      <Li class=toplistpost><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题作者: $nthread[author]{LF}发表时间: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}最后回复: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]" >$nthread[view_subject]</a></Li>
        <!--{else}-->
        <Li class=toplistpost><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题作者: $nthread[author]{LF}发表时间{lang time}: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}{lang replies}: 暂时没有回复" >$nthread[view_subject]</a></Li>
      <!--{/if}-->
      <!--{/loop}-->
    </div>
    <div style="float: left; width: 26%; height: 200px">
      <ul class="lbox" style="clear: both">
        <img src="{IMGDIR}/toplist/newsreply.gif" />
      </ul>
      <!--{loop $new_reply_threadlist $rthread}-->
      <Li class=toplistpost><a href="viewthread.php?tid=$rthread[tid]" $rthread['highlight'] title="最新回复 {LF}所在论坛: $rthread[forumname]{LF}主题作者: $rthread[author]{LF}发表时间: $rthread[date]{LF}浏览次数: $rthread[views] 次{LF}回复次数: $rthread[replies] 次{LF}最后回复: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]">$rthread[view_subject]</a></Li>
      <!--{/loop}-->
    </div>
  </div>
</div>
回复

使用道具 举报

习明 发表于 2007-7-24 18:22:19 | 显示全部楼层

回复 #233 yaki520 的帖子

学习一下简单的html吧
回复

使用道具 举报

习明 发表于 2007-7-24 18:23:22 | 显示全部楼层

回复 #235 会飞的鱼1985 的帖子

你那个可能是文件上传不全
回复

使用道具 举报

习明 发表于 2007-7-24 18:24:01 | 显示全部楼层

回复 #236 冷面神 的帖子

改标题长度的方法主贴有的
回复

使用道具 举报

会飞的鱼1985 发表于 2007-7-24 20:18:52 | 显示全部楼层
谢谢你,刁明是少上传了PIC.PHP那个文件,谢了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-22 11:39 , Processed in 0.105008 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表