q666123 发表于 2015-9-26 09:32:09

SharePoint 如何使自己的网页自动跳转

SharePoint 如何使自己的网页自动跳转

      SharePoint自动制作自己的网页跳的很easy,只有在页面上要添加一个Web部分--内容编辑器,对应的js代码就可以。  
      本文介绍怎样制作自己主动跳转页面。
  
1. 新建ASPX页面,命名RedirectingPage。
  
2. 编辑页面。加入内容编辑器Web部件。
http://img.blog.iyunv.com/20140701100409890

3. 编辑Web部件,选择编辑HTML源码。
http://img.blog.iyunv.com/20140701100507265

4. 输入js代码,点击确定,保存。

  
http://img.blog.iyunv.com/20140701101153484

5. 在SharePoint网站首页编辑页面。输入“[[”选择RedirectingPage。再输入“]]”。保存。
http://img.blog.iyunv.com/20140701101443171

      这样就实现了自己主动跳转功能。点击链接会自己主动跳转到我的Blog啦。http://static.blog.iyunv.com/xheditor/xheditor_emot/default/laugh.gifhttp://static.blog.iyunv.com/xheditor/xheditor_emot/default/laugh.gif。当然,也可以根据特定的条件改变js代码,如果当前用户等。
         版权声明:本文博客原创文章,博客,未经同意,不得转载。
页: [1]
查看完整版本: SharePoint 如何使自己的网页自动跳转