使用 jQuery 实现效果

发布于 2024-08-26 23:47:13 字数 404 浏览 10 评论 0原文

好的 - 我们的任务可能是一个不可能的(或者至少是一个潜在的噩梦)场景。

需要尽可能接近地通过 HTML/JavaScript 再现类似 PowerPoint 的效果(规范又大又难看,所以我就不详细介绍了)。

最终,我正在寻找一个坚实的起点。我在许多项目中都使用了 Prototype/Scriptaculous 以及 jQuery,并且根据我所看到的,看来 jQuery 有更多可用的插件,所以我倾向于使用 jQuery。

任何人都可以向我指出一些插件、文章或其他任何可以帮助我加速这方面研究的内容,以便我可以向我的客户定义什么可以做,什么不能做。

当然,欢迎 jQuery 专家提出任何其他建议。

谢谢 -

Ok - have been tasked with possibly an impossible (or at least a potentially nightmarish) scenario.

Need to come as close as possible to reproducing PowerPoint-like effects via HTML/JavaScript (the spec is large and ugly, so I will spare you the details).

Ultimately, I am looking for a solid launching point. I have used both Prototype/Scriptaculous as well as jQuery in many projects, and based on what I am seeing, it appears jQuery has the more plug-in available, so am leaning towards using jQuery.

Can anyone point me to some plug-ins, articles, or anything else that would help me in accelerating the research on this so I can define to my client what can and cannot be done.

Any other suggestions from you jQuery gurus are welcome of course.

Thanks -

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

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

发布评论

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

评论(4

美人骨 2024-09-02 23:47:13

“类似 PowerPoint 的”效果是什么意思?如果您指的是幻灯片之间的动画,您应该查看

What do you mean with "PowerPoint-like" effects. If you mean animations between slides you should look into

抚你发端 2024-09-02 23:47:13

我当然也会看看jQuery UI,它增加了许多效果。 请在此处查看当前列表。单击每个链接可以查看几个演示,其中有很多选项可供选择,其中一些是 powerpoint 风格的。

例如,尝试此处下拉列表中的各种选项

I would certainly look at jQuery UI as well, which adds a number of effects. See here for a current list. Click on the link for each to see several demos, there are quite a few options for some that are powerpoint-ish.

For example, try the various options in the dropdown here.

北笙凉宸 2024-09-02 23:47:13

jQuery 文档非常好:
jQuery animate 文档

但是,如果您试图实现非常复杂的效果,您几乎肯定会从使用中受益一个不同的框架。 jQuery 是一个很棒的工具 - 特别是对于 DOM,但动画并不是它的强项。

MooTools 有一个特别好的动画库(MooTools 最初是一个 JavaScript 动画框架),其中包含许多核心模块,这些模块为您提供了灵活的工具来自己创建复杂的动画链,以及许多官方和社区提供的插件。我的建议是至少先看一下。您当然可以在 jQuery 中实现这一目标,但您会让自己变得更加困难!

The jQuery documentation is very good:
jQuery animate docs

However, if you are trying to achieve very complex effects you will almost certainly benefit from using a different framework. jQuery is a fantastic tool - particularly with the DOM, but animation isn't its strongpoint.

MooTools has a particularly good animation library (MooTools began life as a JavaScript animation framework) with a number of core modules that give you flexible tools to create complex animation chains yourself as well as a number of official and community-provided plugins. My recommendation would be to at least have a look at that first. You can certainly achieve this in jQuery but you will be making it more difficult for yourself!

落在眉间の轻吻 2024-09-02 23:47:13

我的 0.02 美元:如果您正在做复杂的效果,您需要运行最快的库,而不是最容易使用的库。

My $0.02: If you're doing complex effects, you need the library that runs the fastest, not the library that is the easiest to work with.

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