link: http://www.devinrolsen.com/basic-jquery-touchmove-event-setup/


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, user-scalable=no"> <title>Untitled Document</title><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript" ></script><style>.droginfo { width:110px; height:20px; background:#00C;}#someElm {width:110px; height:180px; background:#0bC; position:absolute; top:30px;}
</style></head>
<body><div id="movex"></div><div id="movey"></div>

 <div id="someElm">    someElm    </div>

<script type="text/javascript">
 jQuery('#someElm').bind('touchmove',function(e){
          e.preventDefault();
      var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0]; 
     var elm = jQuery(this).offset();
      var x = touch.pageX - elm.left;
      var y = touch.pageY - elm.top;
      if(x < jQuery(this).width() && x > 0){
          if(y < jQuery(this).height() && y > 0){
                  //CODE GOES HERE
                  //console.log(touch.pageY+' '+touch.pageX);
                  jQuery('#movex').text(touch.pageX);
                  jQuery('#movey').text(touch.pageY);
                            } 
     }});

</script></body></html>

Link:
http://tlrobinson.net/blog/2008/07/11/multitouch-javascript-virtual-light-table-on-iphone-v20/

http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariWebContent/HandlingEvents/HandlingEvents.html

http://developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/InteractiveVisualEffects/InteractiveVisualEffects.html#//apple_ref/doc/uid/TP40008032-CH3-SW3

http://www.gotproject.com/blog/post2.html

HTML CODE

<div>
  <a href="####" alt="新浪微博" id="openidweibolink">新浪微博</a>
  <form id="openidsinafrom" action="" method="post"></form>
</div>
javascript with jQuery
jQuery(document).ready(function(){
  var weiboUrl = "";
  jQuery('#openidweibolink').bind('click', function() {
    var ajaxUrl     = "/openid/weibo/";  // 后台PHP页面内配置OPENID相关参数,包括KEY值、登录回调页面地址等
    var urlCheckTime = 0 ;
    if (weiboUrl =='' ){
      jQuery.ajax({ //一个Ajax过程
      type: "post",  //以post方式与后台沟通
      url :  ajaxUrl,//与此php页面沟通
      dataType:'json',//从php返回的值以 JSON方式 解释
      data:  '', //发给php的数据
      success: function(json){//如果调用php成功
        weiboUrl = json.urlAuth;
        //window.open(newUrl);
        //alert("weiboUrl:"+weiboUrl);
        jQuery('#openidsinafrom').attr("action",weiboUrl);
        jQuery('#openidsinafrom').submit();
        }
      });
    }
  });
});

Firefox 3.6+,Safari 4,Google Chrome support Pointer-events

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”utf-8”>
<title>CSS pointer events</title>
<style>
.container {
position: relative;
width: 370px;
font: 15px Verdana, sans-serif;
margin: 10px auto;
}

.overlay {
position: absolute;
right: 0px;
top: 0;
width: 40px;
height: 40px;
background: rgba(0, 0, 0, 0.5);
}
.pointer-events-none {
pointer-events: none;
}
</style>
<script>
window.onload = function () {
document.getElementById(“enable-disable-pointer-events”).onclick = function () {
document.getElementById(“overlay”).className = “overlay “ + ((this.checked)? “pointer-events-none” : “”);
};
};
</script>
</head>
<body>
<div>
<a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;, <a href=”http://twitter.com">Twitter</a&gt;,
<div id=”overlay”></div>
<p>
<input id=”enable-disable-pointer-events” type=”checkbox”>
<label for=”enable-disable-pointer-events”>Disable pointer events for grey box</label>
</p>
</div>
</body>
</html>

Examples

The following image shows a text box which is first not focussed and then focussed in the Chrome and Firefox web browsers. The highlight around the box is quite subtle in Firefox and extremely clear in Chrome; it’s much more obvious in Chrome which field has the focus.

input field focus in chrome and firefox

Preventing the focus highlight

.noFocus:focus {
    outline: none;
}

The jQuery project is really excited to announce the work that we’ve been doing to bring jQuery to mobile devices. Not only is the core jQuery library being improved to work across all of the major mobile platforms, but we’re also working to release a complete, unified, mobile UI framework.

Absolutely critical to us is that jQuery and the mobile UI framework that we’re developing work across all major international mobile platforms (not just a few of the most popular platforms in North America). We’ve published a complete strategy overview detailing the work that we’re doing and a chart showing all the browsers that we’re going to support.

Right now we’re working hard, planning out the features that we want to land and doing testing against the devices that we want to support — and hoping for a release later this year. If you wish to help, please join the discussion in the jQuery Mobile Community.

jQuery
The start of jQuery’s Mobile testing lab.

The jQuery project has received sponsorship from a number of mobile browser vendors as well.

Palm, working on the webOS platform, is excited to sponsor jQuery’s mobile work:

“The jQuery community has focused on making the Web as productive and fun as possible. When we heard the mission behind jQuery Mobile, we wanted to help. With webOS we have shown that the Web platform is fantastic for developers, so we are excited to help make jQuery Mobile as good as it can be.” -Dion Almaer
Mozilla, working on Mobile Firefox, is also eager to sponsor jQuery’s mobile work:
“As a longtime supporter of the jQuery project and its wider community we are excited to extend our support to the jQuery Mobile project. jQuery Mobile has the potential to make cross-platform Open Web development significantly simpler.” -Pascal Finette
Filament Group Inc., a Boston-based design and development studio, is both a corporate sponsor and leading the design and front-end coding effort for the jQuery Mobile project:
“Filament is thrilled to sponsor and lead the design for the jQuery Mobile Framework; it’s a great opportunity to extend our work on ThemeRoller and jQuery UI. We’re especially pleased that progressive enhancement will be built right into jQuery Mobile – we think this positions it really well for broad accessibility and future compatibility.”
We’re thrilled to be working on this project. The mobile web is desperately in need of a framework that is capable of working across all browsers, allowing developers to build truly mobile web sites. We’re doing all we can to ensure that jQuery Mobile fills that need.

Here at Yahoo! we’re focused on reaching consumers wherever they are – across PC, mobile, TV and increasingly across tablet devices like iPad.

On the heels of our recently launched HTML5 mobile web mail for iPhone you’ll feel right at home with this experience. We’re keeping all the things users love about our new mobile Web mail, while optimizing it for the gorgeous large screen of the iPad. The iPad experience is:
Faster and more reliable: If you’re offline, Yahoo! Mail uses local caching capabilities to help you access and search your messages even without an internet connection.
Smart: You can find and organize your messages using Full Search, personal folders and Smart Folders with messages from your most important contacts and optimized views for photos and file attachments.


Feature Rich: View rich photo attachments in their full form, or as previews directly in the inbox view. Also includes a dual-pane view to make reading and organizing a breeze.
The new Yahoo! Mail experience is available globally to anyone who has an iPad. To check out Yahoo! Mail on your iPad, simply open up Safari and head on over to http://mail.yahoo.com.

Of course this is just the first version, and we be constantly iterating to add new features, improve performance, and make Yahoo! Mail for iPad the best it can possibly be. And please let us know what you think.