jquery mobile popup not working?

后端 未结 2 1816
情话喂你
情话喂你 2020-12-18 21:48

im using jquery mobile. im trying to create a popup. I found this simpel code that should work. http://jquerymobile.com/branches/popup-widget/docs/pages/popup/index.html

2条回答
  •  半阙折子戏
    2020-12-18 22:25

    It seems popups are scheduled for 1.2 release (see this page on github). I think the "branches" in the url page indicates that this page is from the unreleased dev branch of jQuery mobile. If you look at the docs page for the 1.1 release, this feature is not documented.

    It can be added to 1.0 by adding either the jquery.mobile.popup.js and css from the previous github link or use the web-ui-fw project which includes the popup widget and other widgets.

    I use web-ui-fw to have popups with jQuery mobile 1.1; this plugin uses "popupwindow" instead of "popup" for the data-rel and data-role

提交回复
热议问题