JQuery Accordion 在 SharePoint 2007 中不稳定

发布于 2024-10-09 19:17:34 字数 398 浏览 0 评论 0原文

我有一个 JQuery Accordion 的小原型,我想在 SharePoint 2007 中使用它。我可以在本地运行它,并且运行良好。当我将代码放入 SharePoint 2007 中的内容编辑器 Web 部件时,手风琴可以工作,但在每个动画结束时都不稳定。我读到它可能与文档类型有关,但我已经尝试过,但没有任何方法可以使手风琴在 SharePoint 中顺利执行。有什么想法吗?

我尝试过但不起作用的链接:http://blog.tylerholmes。 com/2009/01/troubleshooting-jquery-accordion.html

I have a small prototype of a JQuery Accordion that I would like to use in SharePoint 2007. I can run it locally and it performs fine. When I put the code into a content editor web part in SharePoint 2007, the accordion works, but is shaky at the end of each animation. I read that it may have something to do with the doctype, but I have tried this and nothing has made the accordion perform smoothly in SharePoint. Any thoughts?

Link that I tried but did not work: http://blog.tylerholmes.com/2009/01/troubleshooting-jquery-accordion.html

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦旅人picnic 2024-10-16 19:17:34

我有类似的问题。

我使用 SharePoint Designer 2007 在基本页面上创建手风琴 - 但在每个“选项卡”内,我放置了一个包含内容编辑器 Web 部件 (CEWP) 的 Web 部件区域 (WPZ)。每个CEWP都有各种各样的内容。将 CEWP 放入每个选项卡中的原因是,客户可以随时更改文本/图像。

然而,动画是崎岖不平的,并且在展开或折叠动作结束时,整个手风琴在完成之前会“闪烁”。

使用简单的 html 版本的手风琴效果很好。

我猜测这与每个 CEWP 附带更多代码有关 - 但我可能是错的。

专家的任何见解将不胜感激。

I have a similar problem.

I used SharePoint Designer 2007 to create the accordion on a basic page - but within each 'tab' I put a Web Part Zone (WPZ) holding a Content Editor Web Part (CEWP). Each CEWP has various kinds of content. The reason for putting CEWPs within each tab is so the client can change the text/images themselves whenever they want.

However - the animation is craggy - and at the end of an expand or collapse action - the whole accordion sort of 'flashes' just before completion.

Using straightforward html versions of the accordion work fine.

I'm guessing it has to do with the fact that there is a lot more code accompanying each CEWP - but I could be wrong.

Any insight by the experts would be appreciated.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文