爬文未找到,求问如何把公告和统计放到首页N格上边
[i=s] 本帖最後由 IndianaJones 於 2015-7-13 23:04 編輯 [/i][attach]65130[/attach]
就是怎么把1放到2上面,谢谢啦{:9_394:}
论坛地址:
[url=http://indianajones.imotor.com/]http://indianajones.imotor.com/[/url]
还有个问题就是怎么设置让导航栏随着页面一起向下滚动? 看不到你的首页n格
导航栏试试这个,放在第三方
<style>#menu{position:fixed !important;}<style> [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255513&ptid=31239]2#[/url] [i]qianyin[/i] [/b]
直接爬到最下面了{:9_378:} [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255519&ptid=31239]3#[/url] [i]IndianaJones[/i] [/b]
<style>#menu{position:fixed !important;top:1px}<style>
top的数值你看着需要调就调 安娤N格~~系統自然會把它分開到上方~~~:) **** 作者被禁止或刪除 內容自動屏蔽 **** [quote]回復 IndianaJones
#menu{position:fixed !important;top:1px}
top的数值你看着需要调就调 ...
[size=2][color=#999999]qianyin 發表於 2015-7-14 00:27[/color] [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255521&ptid=31239][img]http://sclub.com.tw/discuz/images/common/back.gif[/img][/url][/size][/quote]
这个方式不行,固定以后,往下滚动,导航栏不是贴着页顶部,而是相距一段距离(这个距离就是导航栏到页头的距离) [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255522&ptid=31239]5#[/url] [i]rosa1414[/i] [/b]
这个是首页N格(缓冲),该怎么调哈? [b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255561&ptid=31239]8#[/url] [i]IndianaJones[/i] [/b]
你不妨问问(缤纷色彩)会员、相信她乐意教你。
[url]http://colorful.joinbbs.net/[/url]
[attach]65160[/attach] [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255504&ptid=31239]1#[/url] [i]IndianaJones[/i] [/b]
靠修改模板~[b][color=Red]切記要備份![/color][/b]
[quote]所有模版備份:[url]http://sclub.com.tw/discuz/viewthread.php?tid=30500[/url][/quote]
到 discuz.htm 找[code]$pluginhooks[index_header][/code]移到[code]<!--{eval $rkey=array_rand($catlist);}-->[/code]上面 [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255694&ptid=31239]10#[/url] [i]tommy850924[/i] [/b]
没有效果{:16_995:} [b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255757&ptid=31239]11#[/url] [i]IndianaJones[/i] [/b]
你有更新緩存嗎? [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255760&ptid=31239]12#[/url] [i]tommy850924[/i] [/b]
恩 [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255763&ptid=31239]13#[/url] [i]IndianaJones[/i] [/b]
喔~抱歉~
到 discuz.htm 找[code]$pluginhooks[index_header][/code]移到[code]{template index_header}[/code]上面
(上面步驟是復原上次的修改錯誤)
到 discuz.htm 找[code]{template index_header}[/code]移到 xshow.htm 找[code]<div class="xshow">[/code]上面
再到 discuz.htm 找[code]<div class="itemtitle s_clear">
<p class="right forumcount">
{lang index_today}: <em>$todayposts</em>, {lang index_yesterday}: <em>$postdata[0]</em>, {lang index_members}: <em>$totalmembers</em>
</p>
<!--{if $indextype}-->
{subtemplate index_navbar}
<!--{/if}-->
</div>[/code]移到 xshow.htm 找[code]{template index_header}[/code]下面 [i=s] 本帖最後由 IndianaJones 於 2015-7-19 21:18 編輯 [/i]
[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255769&ptid=31239]14#[/url] [i]tommy850924[/i] [/b]
[b][i]位置对了,排版有错位,怎么修改一下哈?[/i][/b]
[b][i][attach]65689[/attach]
[/i][/b][b][/b]
[b][i]在线等[/i][/b]{:16_997:}谢谢~ 你那个不是默认的会员信息不能这么改 [b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255960&ptid=31239]15#[/url] [i]IndianaJones[/i] [/b]
移位問題要看模板不同去做不同的修改,這點需要看到論壇的情況才能改~ [b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255966&ptid=31239]16#[/url] [i]无界[/i] [/b]
什麼意思?為何不能這麼改?版面再依風格去改不行嗎? [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255978&ptid=31239]18#[/url] [i]tommy850924[/i] [/b]
他应该用的是下边这段会员信息代码(这是我论坛用的,不用在意数据调用那里)[code]<p class="chart"><em class="tj">{lang index_today}:</em> <em>$todayposts</em><span class="pipe">|</span><em class="tj">{lang index_yesterday}:</em> <em>$postdata[0]</em><span class="pipe">|</span><em class="tj">{lang index_posts}:</em> <em>$posts</em><span class="pipe">|</span><em class="tj">会员:</em> <em>{eval $xunirenshu=$totalmembers +500;}$xunirenshu</em><span class="pipe">|</span><em class="tj">欢迎新会员:</em> <em><a href="space.php?username=$memberenc" target="_blank" class="xi2">{eval request('会员排行_B3K');}</a></em></p>[/code]只需把这段代码放到discuz模板里的{template xshow}上边即可。
css再适当的调整一下即可 [b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=255995&ptid=31239]19#[/url] [i]无界[/i] [/b]
改的有点乱了,我再试试{:16_1005:}
頁:
[1]
2