请问下 首页 4个轮换焦点图 如何更换 如何加链接
songbeng 发表于 2010-02-06 17:03
修改index.htm文件里的这段代码- <!--焦点图开始-->
- <DIV id=focusViwer align=left class="nbox_c"> </DIV>
- <SCRIPT type=text/javascript>
- var focus_width=520
- var focus_height=245
- var text_height=0
- var swf_height = focus_height+text_height
- var curhref=document.location.href;
- var pics='image/tu/1.jpg|image/tu/2.jpg|image/tu/hgh.jpg|image/tu/yzxyw.jpg'
- var links=''
- var texts='心生活|便捷服务|中国红歌会,唱响祖国大江两岸!|赢在校园网:大学生就业创业实践平台!|'
- var FocusFlash = new sinaFlash("http://www.red660.cn/home/image/pixviewer.swf", "focusflash", focus_width, swf_height, "7", "#FFFFFF", false, "High");
- FocusFlash.addParam("allowScriptAccess", "sameDomain");
- FocusFlash.addParam("menu", "false");
- FocusFlash.addParam("wmode", "opaque");
- FocusFlash.addVariable("pics", pics);
- FocusFlash.addVariable("links", links);
- FocusFlash.addVariable("texts", texts);
- FocusFlash.addVariable("borderwidth", focus_width);
- FocusFlash.addVariable("borderheight", focus_height);
- FocusFlash.addVariable("textheight", text_height);
- FocusFlash.addVariable("curhref", curhref);
- FocusFlash.write("focusViwer");
- </SCRIPT>
- <!--焦点图结束-->
复制代码 |