silentScroll() 滚屏 yPos )



//滚屏到y 100px处


<!doctype html>
<html lang="en">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title> demo</title>
  <link rel="stylesheet" href="">
  <script src=""></script>
  <!-- The script below can be omitted -->
  <script src="/resources/turnOffPushState.js"></script>
  <script src=""></script>
<div data-role="page">
  <div data-role="header">
    <h1>silentScroll() example</h1>
  <div data-role="content">
    <a href="#" onclick="$.mobile.silentScroll(100)" data-role="button">Go down 100 pixels</a>
    <p> <br /><br />Here, we have some text so that we can have <br />
    some vertical space in order to demonstrate <br />
    the silentScroll() method.<br /><br /></p>	
    <a href="#" onclick="$.mobile.silentScroll(0)" data-role="button">Back to Top</a>
  <div data-role="footer">
    <h4> </h4>