Integrate the flash slide show picture control with the SharePoint 2010
来源:互联网 发布:sql注入教程完整版 编辑:程序博客网 时间:2024/06/03 05:07
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.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:
- <script type="text/javascript">
- var focus_width = 220;
- var focus_height = 150;
- var text_height = 15;
- var swf_height = focus_height + text_height;
- var pics = 'http://moss/TestImageLib/_w/001_jpg.jpg|http://moss/TestImageLib/_w/002_jpg.jpg|http://moss/TestImageLib/_w/003_jpg.jpg';
- var links = 'http://moss/TestImageLib/_w/001_jpg.jpg|http://moss/TestImageLib/_w/002_jpg.jpg|http://moss/TestImageLib/_w/003_jpg.jpg';
- var texts = '001|002|003';
- 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 + '">');
- 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">');
- document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
- document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '">');
- 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" />');
- document.write('</object>');
- </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
- Integrate the flash slide show picture control with the SharePoint 2010
- Integrate the flash slide show picture control with the SharePoint 2010
- The Way BIRT Integrate with Web
- The steps to integrate with Gerrit with eclipse
- Use the Picture Library Slideshow Web Part in the SharePoint 2010
- How to integrate the latest lispbox with clisp.
- The Show
- How to control the jobs with shell?
- Seeing the Big Picture:Deep Embedding with Contextual Evidences
- Linux: the big picture
- the picture of edyliu
- Linux: the big picture
- The Monochrome Picture SGU
- How to show/hide a control in the Column's DataItemTemplate based on the value of another control
- How to control the flash light(iOS platform)
- PowerShell: Interact with SharePoint in the fastest way possible
- Show me the Template
- Show me the Template
- 【phpcms-v9】phpcms-v9中系统管理员登陆页面控制器文件分析:phpcms/modules/admin/index.php
- Java中十个常见的违规编码
- android 驱动开发一
- pathinfo设置
- struct epoll_event
- Integrate the flash slide show picture control with the SharePoint 2010
- android可以识别用户的手势
- 开机nfs自动挂载
- Solarsi下编译pysvn的问题
- 试发一篇——最小园覆盖
- tomcat内存溢出总结
- 基于Qt的电子海图研究与实现
- 零零散散学算法之详解数据压缩算法(上)
- file协议