百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
J

jQuery-Mobile-Subpage-Widget

> 编程语言
开源

注意:此项目已不再活跃,不再维护。如果您有兴趣让此小组件与当前的 v…

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

注意:此项目已不再活跃,不再维护。如果您有兴趣让此小组件与当前的 v…

NOTE: This project is no longer active and is not being maintained. If you are interested in getting this widget to work with the current version of JQM please contact me.

Version

1.4.3

Description

A jQuery Mobile widget that allows subpages to be added to pages. This is useful
when a mobile view needs to be structured as a number of partial views with page
transitions between them. This gives a HTML5 mobile app more of a native feel.
For views of this type the added benefit is that only 1 AJAX request is needed.

The functionality provided by this widget is a workaround for the jQuery Mobile
loadPage() function which only loads the first page in an AJAX response. You do
not use this widget on your initial document load.

Usage

Add a stack of child div's with data-role="subpage" or data-role="subpage-dialog"
to a parent div with data-role="page".

Notes

Subpage div's are automatically detached from the parent page div and inserted
into the DOM when the parent page is loaded. When the parent page is hidden, the
child subpage div's are removed from the DOM.

The functionality provided by this widget is a workaround for the jQuery Mobile
loadPage() function which only loads the first page in an AJAX response.

Demo

Please visit the http://m.integra-international.net website  to launch the new
Integra Mobile web app which utilizes the subpage widget. After the web app
launches, press the info button on RHS of the header bar. Next select the
"Integra Mobile" list item. The 'Integra Mobile' page contains a subpage which
is accessible through the 'About' list item.

Sample

A Visual Studio MVC4 sample app is provided.

Change Log

1.4.3 - 11 Sept 2014

  • Fixed issue #30, Support for jQM branch 1.4.x

1.3.1, 1.2.0 - 9 Sept 2013

  • Fixed issue #26.

1.3 - 5 March 2013

  • Fixed incompatibility with jQueryMobile 1.3.0's change from storing data in .data('page') to .data('mobile-page'). The plugin now adapts based on the jQueryMobile version in use.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言