加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Integrate the flash slide show picture control with the Shar

发布时间:2020-12-15 18:23:23 所属栏目:百科 来源:网络整理
导读:Integrate the flash slide show picture control with the SharePoint 2010. Here is the result: Here are the steps for integrating the flash slide show picture control with the SharePoint 2010 1. Download the flash meterials fromhttps://8vvt8

Integrate the flash slide show picture control with the SharePoint 2010.

Here is the result:

Here are the steps for integrating the flash slide show picture control with the SharePoint 2010

1. Download the flash meterials fromhttps://8vvt8w.blu.livefilestore.com/y1pQzXh8ASsKaaQbHPvmm17jIWWEPc0yUVmd4bSeWu_Ap6cNqylCTHGRmrJuitvft5XnIOQNo1Q81n4hLYGOReq1Q/swflash.zip?download&psid=1

2. Upzip the zip file and copy them(Img226882895.swf,swflash.cab) to C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATELAYOUTSFlash (if you don't have flash folder then please create it)

3. To enable the flash in SharePoint: Central admin -> Web Application management -> Select the web application in question by highlighting it then select -> general settings on teh ribbon - scroll down and select the permissive radio button for "Browser File Handle"

4. Create a picture library and upload some pictures into it,for how to do it,please checkhttp://blog.csdn.net/farawayplace613/article/details/8018705

5. Add a content web part into the web part page

6. Edit the add web part:

Input the follow script after the html source windows dispalying:

?????

[javascript]? view plain copy
  1. ???????<script?type="text/javascript">??
  2. ???????????var?focus_width?=?220;??
  3. ???????????var?focus_height?=?150;??
  4. var?text_height?=?15;??
  5. var?swf_height?=?focus_height?+?text_height;??
  6. var?pics?=?'http://moss/TestImageLib/_w/001_jpg.jpg|http://moss/TestImageLib/_w/002_jpg.jpg|http://moss/TestImageLib/_w/003_jpg.jpg';??
  7. var?links?=?'http://moss/TestImageLib/_w/001_jpg.jpg|http://moss/TestImageLib/_w/002_jpg.jpg|http://moss/TestImageLib/_w/003_jpg.jpg';??
  8. var?texts?=?'001|002|003';??
  9. ???????????document.write('<object?classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"?codebase="http://moss/_layouts/Flash/swflash.cab#version=6,0"?width="'?+?focus_width?+?'"?height="'?+?swf_height?+?'">');??
  10. ???????????document.write('<param?name="allowScriptAccess"?value="sameDomain"><param?name="movie"?value="http://moss/_layouts/Flash/Img226882895.swf"><param?name="quality"?value="high"><param?name="bgcolor"?value="#ffffff">');??
  11. ???????????document.write('<param?name="menu"?value="false"><param?name=wmode?value="opaque">');??
  12. ???????????document.write('<param?name="FlashVars"?value="pics='?+?pics?+?'&links='?+?links?+?'&texts='?+?texts?+?'&borderwidth='?+?focus_width?+?'&borderheight='?+?focus_height?+?'&textheight='?+?text_height?+?'">');??
  13. ???????????document.write('<embed?src="Img226882895.swf"?wmode="opaque"?FlashVars="pics='?+?pics?+?'&links='?+?links?+?'&texts='?+?texts?+?'&borderwidth='?+?focus_width?+?'&borderheight='?+?focus_height?+?'&textheight='?+?text_height?+?'"?menu="false"?bgcolor="#ffffff"?quality="high"?width="'?+?focus_width?+?'"?height="'?+?focus_height?+?'"?allowScriptAccess="sameDomain"?type="application/x-shockwave-flash"?pluginspage="http://www.macromedia.com/go/getflashplayer"?/>');??
  14. ???????????document.write('</object>');??
  15. </script>??


You need update above code before typing it into the html source text box:

a. Replace?Moss?with your Moss server Name.

b.? Replace picture url with yours.

c.? Replace the link url with yours

d. Replace the diaplay texts with yours

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读