jquery移动转盘

Raf*_*sta 9 jquery carousel jquery-mobile

我需要在幻灯片上显示带有移动旋转木马的页面 - 不更改页面,但仅在幻灯片上显示旋转木马中的项目(无页面重新加载).然后在旋转木马中将项目链接到jqm对话框.我怎么能这样做没有iframe或嵌入.这需要在滑动工作

hgr*_*oss 9

查看http://swipejs.com/

优点:

  • 保持简单(标记惯例)
  • 使用CSS-Transitions(在iOS上非常流畅)
  • 您可以滑动任意标记
  • 不需要其他图书馆; 纯JS

许可证:GPL或MIT

只需将点击处理程序绑定到生成动态对话框的滑动元素,就可以完成对话框的链接,如下所示:

var dialog = jQuery('<div data-role="dialog"> <div data-role="content"> <h1>A Dialog</h1> </div> </div>');
dialog.appendTo(jQuery.mobile.pageContainer);
jQuery.mobile.changePage(dialog);
Run Code Online (Sandbox Code Playgroud)


Tho*_*ory 2

看看 Ariel Flesler 的 lib LocalScroll :

http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html

您可以在这里看到它的使用情况: http: //nancysellers.net/