Something about jQuery Mobile

  • 1

类级别写法:jQuery.插件名称=function(){.....};
调用方法:$.插件名称();

对象级别写法:$.fn.插件名称 = function(){};多了一个fn,没错,是fn! fn!!! fn!!!
调用方法:$("#Me").插件名称();

  • jQuery Mobile conventions

http://the-jquerymobile-tutorial.org/jquery-mobile-tutorial-CH08.php

jQuery Mobile defined $.mobile object from which the functionality of the library will be accessible.

  • Working with jQuery Mobile's Auto-initialization

http://jquerymobile.com/demos/1.2.1/docs/api/globalconfig.html

When jQuery Mobile starts, it triggers a mobileinit event on the document object. To override default settings, bind to mobileinit.
                
$(document).bind("mobileinit", function(){
  //apply overrides here
});

  • jQuery 选择器语法

http://www.cnblogs.com/children/archive/2011/07/09/2101756.html

  • 浅谈jQuery Mobile设计思想

http://wenku.baidu.com/view/9d594409844769eae009ed95.html

  • jQuery Mobile教程:jQuery Mobile基本事件

http://www.webjx.com/javascript/jsajax-33592.html

 


                
           

你可能感兴趣的:(JQuery Mobile)