简体   繁体   English

jbgallery vs超大js vs flash

[英]jbgallery vs supersized js vs flash

I have been asked to create a website where the homepage consists of a fading image slideshow and a navigation bar at the bottom of the page.我被要求创建一个网站,其主页由一个褪色的图像幻灯片和页面底部的导航栏组成。 The client wants the image to cover the entire screen with the exception of this nav bar with a pause/play button at the top right of the screen.客户希望图像覆盖整个屏幕,但屏幕右上角有一个暂停/播放按钮的导航栏除外。

I have built this using the supersized jquery function and made a few tweaks, but there seems to be performance issues with the fading effect (its very static and transitions dont appear to flow very smoothly).我已经使用超大尺寸的 jquery function 构建了它并进行了一些调整,但褪色效果似乎存在性能问题(它非常 ZA81259CEF8E959C624DF71D456EZ 看起来非常流畅,并且过渡非常顺利)。

Before I get stuck into the remainder of the site, I want some advice from the seasoned experts out there on using this function, or the jbgallery jquery function I have recently come across.在我进入该网站的其余部分之前,我想从经验丰富的专家那里获得一些关于使用这个 function 或 jbgallery jquery ZC1C425268E68385D1AB5074C17A 的建议。 Alternatively what is the general consensus on building the whole site in flash.或者,在 flash 中构建整个站点的普遍共识是什么。

I haved used flash sparingly before due to CMS issues (which I have now worked around) and ipad display problems etc so would need to do a bit of learning to go down this route but am more than happy to adopt the approach if people really think it is worthwhile.由于 CMS 问题(我现在已经解决了)和 ipad 显示问题等,我之前很少使用 flash这是值得的。 My experience to date has consisted of including swf animations and components within php pages populated via mysql using xml files.迄今为止,我的经验包括在通过 mysql 使用 xml 文件填充的 php 页面中包含 swf 动画和组件。

Looking forward to any and all advice (not simply for this project but future ones aswell.).期待任何和所有的建议(不仅仅是这个项目,还有未来的)。

Thanks JD谢谢京东

I'm actually trying to work out the exact same problem right now.我实际上正在尝试解决完全相同的问题。 I don't have a perfect/easy solution yet, but here's something that might work: http://playground.benbarnett.net/jquery-animate-enhanced/我还没有完美/简单的解决方案,但这里有一些可能有效的方法: http://playground.benbarnett.net/jquery-animate-enhanced/

It's a jQuery plugin that takes your standard animate() calls (and a few others) and uses CSS3 transforms when possible.这是一个 jQuery 插件,它接受您的标准animate()调用(以及其他一些调用)并尽可能使用 CSS3 转换。 This will theoretically improve the frame rate of transitions since CSS3 effects perform better in modern browsers.从理论上讲,这将提高转换的帧速率,因为 CSS3 效果在现代浏览器中表现更好。 I have smaller demos working, but am having trouble getting a lower frame rate for full-browser images.我有较小的演示工作,但无法为全浏览器图像获得较低的帧速率。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM