简体   繁体   English

开发没有任何jQuery(或Flash)的图片库或内容滑块?

[英]Developing an image gallery or content slider without any jQuery (or Flash)?

First post, but I've been lurking around this site for a long while now, and I know how good some of you guys are at this development game. 第一篇文章,但我已经潜伏在这个网站上了很长一段时间,而且我知道你们中的一些人在这款开发游戏中有多出色。

So, I'm trying to figure out how to develop a gallery/mainnav widget for the top of a landing page, but the page cannot include the jQuery library or any flash objects. 因此,我试图弄清楚如何为登录页面的顶部开发gallery / mainnav小部件,但是该页面不能包含jQuery库或任何Flash对象。 I haven't explicitly checked yet, but I don't think mootools will work either. 我还没有明确检查,但是我也不认为mootools也可以。 Having said that, I am by far most familiar with building stuff like this using jQuery than any other libraries out there right now, so having had that taken away is proving a difficult obstacle for me. 话虽这么说,到目前为止,我对使用jQuery构建这样的东西比现在对任何其他库最熟悉,因此,把它拿走给我证明是一个困难的障碍。

I'm looking for ideas/suggestions/direction on possibly trying to build something like this using a canvas element (my canvas skills are not that well developed yet, fyi) or if a pure-javascript solution is available somewhere... or really any input that I may not have considered yet. 我正在寻找想法/建议/方向,以尝试使用canvas元素构建这样的东西(我的画布技能还不够完善,fyi),或者某个地方是否有纯JavaScript解决方案...或者真的我可能尚未考虑的任何输入。

Thanks guys. 多谢你们。

You're probably conflicting with another library, in which case you can use jQuery in .noConflict() mode. 您可能与另一个库发生冲突,在这种情况下,可以在.noConflict()模式下使用jQuery。

Developing something so UI-heavy without jQuery or some other framework is really not advisable. 真正不建议在没有jQuery或其他框架的情况下开发大量UI的东西。 It will likely take much longer to build, with much longer and less maintainable code that works across fewer browsers. 构建所需的时间可能会更长,并且需要更长的时间和更少的可维护性代码,这些代码可在更少的浏览器上运行。

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

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