move.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="../themes/nokia/base.css" type="text/css" media="screen">
  5. <script src="../lib/jquery/jquery.js" type="text/javascript" charset="utf-8"></script>
  6. <script src="../lib/jquery/jquery.scrollTo.js" type="text/javascript" charset="utf-8"></script>
  7. <script src="../src/core.js" type="text/javascript" charset="utf-8"></script>
  8. <script src="../src/util.js" type="text/javascript" charset="utf-8"></script>
  9. <script src="../src/widget.js" type="text/javascript" charset="utf-8"></script>
  10. <style type="text/css" media="screen">
  11. body {
  12. font-size: 14px;
  13. font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
  14. }
  15. #test {
  16. background: red;
  17. width: 100px;
  18. height: 100px;
  19. position: absolute;
  20. top: 100px;
  21. left: 100px;
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <br/><br/><div id="switcher"></div><br/><br/>
  27. <h1>Base File</h1>
  28. <div id="test"></div>
  29. <button onclick="Nokia.util.animate('#test', { top: '200px', backgroundColor: 'green', height: '200px', width: '200px' });">top 200px</button>
  30. <button onclick="Nokia.util.animate('#test', { top: '100px', backgroundColor: 'red', height: '100px', width: '100px' });">top 100px</button>
  31. <script type="text/javascript" charset="utf-8">
  32. jQuery(document).ready(function() {
  33. });
  34. </script>
  35. </body>
  36. </html>