该网站如何使用 jQuery UI 选项卡导入内容?
站点:http://www.friendsorenemies.com/
该站点具有使用 设置的 jQuery UI 选项卡功能、VIP 博客和全部。但他们如何导入内容呢?最初,我想我可以使用像 zRSSFeed 这样的 jQuery rss 解析器,但意识到博客作者头像不会显示在 rss feed 中,也不会显示如下所示的元数据
: 1 条评论 | 2011 年 5 月 6 日 | 5:39pm
然后,我想也许他们正在使用 iFrame?但我查看了源代码,却不是。
您可以看到:
- 功能选项卡正在从 此页面。
- VIP 博客 选项卡正在从此页面<获取内容/a>.
- 全部选项卡正在从此页面获取内容。
有人有主意吗?这让我发疯。
Site: http://www.friendsorenemies.com/
That site has jQuery UI tabs set up with Features, VIP Blogs, and All. But how are they importing the content? Originally, I was thinking I could use a jQuery rss parser like zRSSFeed, but realized that the blog author avatars don't show in rss feeds nor does meta data like this below:
Posted By authorname | 1 Comment | May 6, 2011 | 5:39pm
Then, I thought maybe they are using iFrames? But I looked at the source code and they are not.
You can see that:
- the Features tab is getting the content from this page.
- the VIP Blogs tab is getting the content from this page.
- the All tab is getting the content from this page.
Anybody have an idea? This has been driving me crazy.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
他们只是使用选项卡小部件的 AJAX 功能。
当您在选项卡的
a
标记中提供“真实”链接时,jQuery UI 将通过 AJAX 自动加载内容。They're just using the Tabs widget's AJAX feature.
jQuery UI will automagically load content via AJAX when you give a "real" link in the
a
tag for a tab.