專題圖片新聞?wù){(diào)用_風(fēng)訊Cms教程
免費(fèi)版測(cè)試通過�?梢栽谑醉摗n}頁調(diào)用當(dāng)前專題中的圖片新聞,可以選擇是否居中、圖片是否加邊框等。只針對(duì)3.2.sp1,3.2以前的版本不可用。
一、標(biāo)簽圖片spicnews.gif(放到\Foosun\Images\Lable目錄中,名字:spicnews.gif)

二、打開\Foosun\Editer\LableEditer.asp增加:(紅色部分)
<td width="1"> <div align="center" class="ToolSeparator"></div></td>
<td width="30"><div align="center"><img src="../Images/Lable/SpicNews.gif" alt="專題圖片" width="24" height="24" class="Btn" onClick="InsertScript('SpicNews')"></div></td>
</tr>
</table></td>
</tr>
<%
End if
%>
下面:
case 'SpicNews':
var ReturnValue=OpenWindow('../FunPages/Frame.asp?FileName=LableSpicNews.asp&PageTitle=專題圖片標(biāo)簽屬性',336,240,window);
break;
default :
return '';
}
if (ReturnValue!='') parent.frames["Editer"].InsertHTMLStr(ReturnValue);
}
</script>
三、Foosun\FunPages目錄中,增加文件LableSpicNews.asp
點(diǎn)擊瀏覽該文件
四、打開\Foosun\Admin\Refresh\cls_refresh.asp
Private Sub Analyze_Lable(f_Lable_Cont)
Dim i
m_Label_Para_Name_Array = Array(_
Array("freelable","FreeLableID","QueryNum","ColSpan","RowSpan","ColNum","RowNum"),_
Array("spicnews","SpecialListStr","NewsNumberStr","ShowTitleStr","OpenModeStr","TitleNumberStr","RowNumStr","PicWidthStr","PicHeightStr","CssFileStr","RowSpaceStr","PicModeStr","TitleModeStr","IsBkStr","BkColorStr","BgColorStr","BgImgStr"),_
Array("selfclass","ClassEName","NewsListNumberStr","TitleNumberStr","CompatPicStr","NaviPicStr","DateRuleStr","DateRightStr","RowHeightStr","RowNumberStr","ShowClassCNNameStr","MoreLinkTypeStr","MoreLinkContentStr","CSSStyleStr","OpenTypeStr","DateCSSStyleStr","TxtNaviStr","IsIncludeChildTF"),_
下面:
'==============2006-06-07=======================================================================
Case "spicnews" : if UBound(m_Prar_Cont_Array) = 16 then : Select_Function = SpicNews(m_Prar_Cont_Array(1),m_Prar_Cont_Array(2),m_Prar_Cont_Array(3),m_Prar_Cont_Array(4),m_Prar_Cont_Array(5),m_Prar_Cont_Array(6),m_Prar_Cont_Array(7),m_Prar_Cont_Array(8),m_Prar_Cont_Array(9),m_Prar_Cont_Array(10),m_Prar_Cont_Array(11),m_Prar_Cont_Array(12),m_Prar_Cont_Array(13),m_Prar_Cont_Array(14),m_Prar_Cont_Array(15),m_Prar_Cont_Array(16)) : else : Select_Function = "" : Exit Function : end if
- 最簡(jiǎn)單的欄目切換方法(樣式系列之欄目切換篇2)
- 我也放個(gè)欄目切換代碼,簡(jiǎn)簡(jiǎn)單單的。
- 搜狐女性頻道幻燈效果(幻燈系列之flash特效篇)
- 有效控制新聞內(nèi)容的圖片的尺寸
- 現(xiàn)提供增加<目錄生成規(guī)則>的方法!
- 風(fēng)訊里面上下篇標(biāo)簽DIV模式下浮動(dòng)的解決方法!
- 風(fēng)訊目錄路徑自由選擇的實(shí)現(xiàn)方法
- 新聞列表讀取內(nèi)容時(shí)去掉html代碼
- 添加文字廣告的解決方案!
- 發(fā)些滾動(dòng)的代碼
- 標(biāo)題下的分隔線在4.0中如何設(shè)置,還有標(biāo)題的行間距
- 隨時(shí)更換模版、廣告等,無須重新生成整站,共享出來供討論
風(fēng)訊Cms教程教程Rss訂閱Cms教程搜索
風(fēng)訊Cms教程推薦
- 3.2.sp1實(shí)現(xiàn)通用標(biāo)簽[方法說明]
- 風(fēng)訊CMS后臺(tái)“會(huì)員系統(tǒng)”模塊介紹之視頻教程!
- 新聞列表讀取內(nèi)容時(shí)去掉html代碼
- 自定義字段的應(yīng)用方法
- 標(biāo)簽內(nèi)容不允許大于2000個(gè)字符 ??? 怎么修改
- 正式版-錯(cuò)誤:熱點(diǎn)文章總是顯示點(diǎn)擊數(shù)最少的新聞. 解決方法
- FOOSUN3.2sp1升級(jí)到FOOSUN4.0SP1需要做哪些工作?
- 3.0SP2-實(shí)現(xiàn)公用標(biāo)簽,超簡(jiǎn)單
- 風(fēng)訊CMS2.0子類新聞排序和圖片導(dǎo)航顯示問題
- 新浪新聞采集,廣告、多余代碼全過慮設(shè)置方法!
- 相關(guān)鏈接:
- 教程說明:
風(fēng)訊Cms教程-專題圖片新聞?wù){(diào)用
。