Integrate the flash slide show picture control with the SharePoint 2010

本文详细介绍了如何将Flash相册图片控件集成到SharePoint 2010中,包括下载资源、解压文件、配置Flash、创建图片库并上传图片,最后在页面上添加内容部分并插入自定义脚本以实现Flash相册显示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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 Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\Flash (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.youkuaiyun.com/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,0,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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值