PJblog-2.5-用參數去設定置頂的日誌是否展開
作者: nnickk 日期: 2006-02-05 11:38
|
|
找class/cls_default.asp
第一步
將
CODE:
<div class="BttnE" onclick="TopicShow(this,'log_<%=webLogArr(0,PageCount)%>')"></div>
改成
CODE:
<%if firstpageopen="Y" then%>
<div class="BttnC" onclick="TopicShow(this,'log_<%=webLogArr(0,PageCount)%>')"></div>
<%else%>
<div class="BttnE" onclick="TopicShow(this,'log_<%=webLogArr(0,PageCount)%>')"></div>
<%end if%>
第二步
將
CODE:
<div id="log_<%=webLogArr(0,PageCount)%>"<%if webLogArr(9,PageCount)=true then %> style="display:none"<%end if%>>
改成
CODE:
<%if firstpageopen="Y" then%>
<div id="log_<%=webLogArr(0,PageCount)%>"<%if webLogArr(9,PageCount)=true then %> style="display:"<%end if%>>
<%else%>
<div id="log_<%=webLogArr(0,PageCount)%>"<%if webLogArr(9,PageCount)=true then %> style="display:none"<%end if%>>
<%end if%>
第三步
修改const.asp
在
CODE:
Const IPViewURL="http://www.dheart.net/ip/index.php?ip="
下面增加這一行
CODE:
Const firstpageopen = "N" '設定首頁公告是否展開,Y為展開,N為不展開。
|
|
發表評論
訂閱
上一篇
返回
下一篇
標籤:



幸福小旅行.台鐵新烏日站--2012-05-06 (2012-05-08 12:13)
100年11月、12月統一發票中獎號碼單 (2012-01-25 14:13)
卓蘭自然風情--2011-12-24(我可能不會愛你場景之一) (2012-01-04 20:37)
DCS-932L--D-Link守護寶貝網路攝影機試用活動--2011-12-10 (2011-12-10 16:00)
漫與貓的第一次接觸--2011-11-27 (2011-11-29 20:46)
2011年10月 (2011-11-27 09:39)
天使還是惡魔--2011-09-20 (2011-11-26 10:19)
2011-09-15 (2011-11-26 10:14)
9張--2011-08-28 (2011-11-23 22:06)