无法让 JQtouch 中的图片库正常工作
我在 jqt 应用程序上遇到了障碍。它几乎全部建造了 画廊只是拒绝工作。我尝试的每个 jquery 图片库 实施最终得到相同的结果:无法加载资源。
我有一个从 RSS 源动态创建的图像列表。这 结构的布局如下:
<div id="galleria">
<a href="Image1.jpg"> <img src="thumb1.jpg"></a>
<a href="Image2.jpg"> <img src="thumb2.jpg"></a>
<a href="Image3.jpg"> <img src="thumb3.jpg"></a>
</div
<script type="text/javascript">
// Load the classic theme
Galleria.loadTheme('galleria.classic.js');
// Initialize Galleria
$('#galleria').galleria();
</script>
我目前正在使用 Galleria,但每个都发生了同样的事情 我尝试过的其他画廊脚本(来自 Safari 开发者控制台):
找不到动画。使用左滑:jqtouch.js:104 无法加载资源:image1.jpg
I've hit a road block on jqt app. Its pretty much all built the
gallery is just refusing to work. Every jquery image gallery I try to
implement end up with the same result: Failed to Load Resource.
I've got a list of Images dynamically created from an RSS feed. The
structure is layed out like so:
<div id="galleria">
<a href="Image1.jpg"> <img src="thumb1.jpg"></a>
<a href="Image2.jpg"> <img src="thumb2.jpg"></a>
<a href="Image3.jpg"> <img src="thumb3.jpg"></a>
</div
<script type="text/javascript">
// Load the classic theme
Galleria.loadTheme('galleria.classic.js');
// Initialize Galleria
$('#galleria').galleria();
</script>
I'm currently using galleria but the same thing happened with every
other gallery script I have tried(from Safari developer console):
Animation could not be found. Using slideleft: jqtouch.js:104
Failed to load resource: image1.jpg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您尝试过哪些画廊库?您是否遇到过 jQT 照片扩展(请参阅演示)?
看看“照片库”和“照片库2”。如果您只想要照片和一些标题,设置应该相当简单:
记住包含 jQT 照片扩展文件:
jqt.photo.js
和jqt.photo.css
。What gallery libraries have you tried? Have you come across the jQT photo extension (see the demo)?
Take a look at "Photo Gallery" and "Photo Gallery 2". If you just want to have photos and some captions, it should be fairly simple to set up:
Remember to include the jQT photo extension files:
jqt.photo.js
andjqt.photo.css
.