收藏 分享(赏)

仿网易新闻中心焦点图片幻灯显示效果函数标签.doc

上传人:hwpkd79526 文档编号:7721401 上传时间:2019-05-24 格式:DOC 页数:8 大小:45.50KB
下载 相关 举报
仿网易新闻中心焦点图片幻灯显示效果函数标签.doc_第1页
第1页 / 共8页
仿网易新闻中心焦点图片幻灯显示效果函数标签.doc_第2页
第2页 / 共8页
仿网易新闻中心焦点图片幻灯显示效果函数标签.doc_第3页
第3页 / 共8页
仿网易新闻中心焦点图片幻灯显示效果函数标签.doc_第4页
第4页 / 共8页
仿网易新闻中心焦点图片幻灯显示效果函数标签.doc_第5页
第5页 / 共8页
点击查看更多>>
资源描述

1、1、创建函数标签标签名称:163pic分页数量:5自动刷新:10查询语句:select top 4 ArticleID,ChannelID,ClassID,Title,DefaultPicUrl,Content from PE_Article where Status = 3 and (IncludePic=1 or IncludePic=2) and ChannelID=input(0) and deleted=0 and Elite=true order by ArticleID desc注:以上选择的是“推荐” 图片。如果想选择最新图片,请将查询语句中的“ and Elite=true“

2、去掉。优先级:5参数说明:频道 ID标签内容:LoopInfobeginimgUrl$AutoID=“$InstallDir$Field(1,GetChannel,1)/$Field(1,GetChannel,3)/$Field(4,Text,0,0,0)“imgLink$AutoID=“$InstallDir$Field(0,GetUrl,Article,1)“imgtext$AutoID=“$Field(3,Text,0,0,0)“imgintro$AutoID=“$Field(5,Text,60,2,1)“Infoend/Loopdocument.write()document.writ

3、e()document.write()document.write()document.write()document.write()document.write()document.write( )document.write( )document.write( )document.write( )document.write()document.write()document.write()document.write(+imgtext1+)document.write(+imgintro1+详细)document.write()document.write(+imgtext2+)docu

4、ment.write(+imgintro2+详细)document.write()document.write(+imgtext3+)document.write(+imgintro3+详细)document.write()document.write(+imgtext4+)document.write(+imgintro4+详细)document.write()2、模板调用新闻中心BODY PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; BACKGROUND: #fff; PADDING-BOTTOM: 0px; MARGIN:

5、 0px; COLOR: #000; PADDING-TOP: 0px; FONT-FAMILY: 宋体, serif; TEXT-ALIGN: centerDIV BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxFORM BORDER-TOP-WIDTH: 0px; PA

6、DDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxIMG BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; M

7、ARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxUL BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxOL BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEF

8、T: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxLI BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px;

9、BORDER-RIGHT-WIDTH: 0pxDL BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxDT BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px

10、; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxDD BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0pxH1 PADD

11、ING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0pxH2 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0pxH3 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-

12、WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0pxH4 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0pxH5 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING

13、-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0pxH6 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0pxLI LIST-STYLE-TYPE: noneINPUT CURSOR: pointerBUTTON CURSOR: pointerIMG VERTICAL-ALIGN: topA:link COLOR: #000; TEXT-DECORATION:

14、noneA:visited COLOR: #83006f; TEXT-DECORATION: noneA:hover COLOR: #bc2931; TEXT-DECORATION: underlineA:active COLOR: #bc2931.left FLOAT: left.right FLOAT: right.focusArea CLEAR: both; BORDER-TOP: #ccc 1px solid; BACKGROUND: url(http:/ MARGIN: 0px auto; WIDTH: 960px; BORDER-BOTTOM: #ccc 1px solid; HE

15、IGHT: 347px.focusArea .hot CLEAR: both; PADDING-RIGHT: 8px; PADDING-LEFT: 9px; BACKGROUND: #fff; PADDING-BOTTOM: 0px; MARGIN: 0px 1px; COLOR: #1f3a87; LINE-HEIGHT: 23px; PADDING-TOP: 2px; BORDER-BOTTOM: #ccc 1px solid; HEIGHT: 23px; TEXT-ALIGN: left.focusArea .hot A COLOR: #1f3a87.focusArea .hot A:h

16、over COLOR: #bc2931.focusArea .col1 FLOAT: left; WIDTH: 460px.focusArea .col2 DISPLAY: inline; BACKGROUND: #fafafa; FLOAT: right; MARGIN: 0px 1px 0px 0px; OVERFLOW: hidden; WIDTH: 497px; HEIGHT: 320px.focusText CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 16px; PADDING-BOTTOM: 0px; PADDING-TOP: 16

17、px; TEXT-ALIGN: left.focusText H2 FONT-WEIGHT: 100; FONT-SIZE: 20px; FLOAT: left; FONT-FAMILY: “黑体“ ,Arial Black,sans-serif; TEXT-ALIGN: left.focusText H6 PADDING-RIGHT: 12px; PADDING-LEFT: 8px; BACKGROUND: url(http:/ no-repeat 0px -110px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 1px.focusTex

18、t UL CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 3px.focusText LI CLEAR: both; COLOR: #1f3a87; LINE-HEIGHT: 20px.focusText H3 CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: 100; FONT-SIZE: 18px; PADDING-BOTTOM: 0px; PADDING-TOP: 12px; FONT-

19、FAMILY: “黑体“ ,Arial Black,sans-serif; TEXT-ALIGN: left.focusText H2 A COLOR: #000.focusText H3 A COLOR: #000.focusText H2 A:visited COLOR: #000.focusText H3 A:visited COLOR: #000.focusText H2 A:hover COLOR: #bc2931.focusText H3 A:hover COLOR: #bc2931.focusText H2 A:active COLOR: #bc2931.focusText H3

20、 A:active COLOR: #bc2931.focusText H6 A COLOR: #666.focusText H6 A:visited COLOR: #666.focusText H6 A:hover COLOR: #bc2931.focusText LI A COLOR: #1f3a87.focusText LI A:hover COLOR: #bc2931.focusPic CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px auto; WIDTH: 464p

21、x; PADDING-TOP: 16px; TEXT-ALIGN: left.focusPic .pic CLEAR: both; OVERFLOW: hidden; HEIGHT: 250px.focusPic .pic IMG BORDER-RIGHT: #ccc 1px solid; BORDER-TOP: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid.focusPic .pic UL FLOAT: right; WIDTH: 97px.focusPic .pic LI CLEAR:

22、both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 9px; PADDING-TOP: 0px; TEXT-ALIGN: right.focusPic .pic .active BACKGROUND: url(http:/ no-repeat 0px -454px.focusPic .pic .active IMG BORDER-RIGHT: #1f3a87 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #1f3a87 1px solid; PADDING-LEFT: 2px; BAC

23、KGROUND: #fff; PADDING-BOTTOM: 2px; BORDER-LEFT: #1f3a87 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #1f3a87 1px solid.focusPic .pic .active IMG:hover BORDER-RIGHT: #bc2931 1px solid; BORDER-TOP: #bc2931 1px solid; BORDER-LEFT: #bc2931 1px solid; BORDER-BOTTOM: #bc2931 1px solid.focusPic H2 CLEAR: both; FONT-WEIGHT: bold; FONT-SIZE: 14px.focusPic .text PADDING-RIGHT: 12px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; LINE-HEIGHT: 19px; PADDING-TOP: 5pxfunction showFocus(num)for(var id = 1;id$MY_163pic(1001) 成功范例:http:/

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报