Guest User

Untitled

a guest
May 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html manifest="manifest.php" lang="en-US">
  3. <head>
  4. <title>Reference Library</title>
  5. <meta id="Copyright" name="Copyright" content="Copyright 2010 Apple Inc. All Rights Reserved.">
  6.  
  7. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  8. <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  9.  
  10. <link type="image/png" rel="apple-touch-icon" href="images/icon.png">
  11.  
  12. <link type="text/css" rel="stylesheet" href="ui/css/ui-ipad.css">
  13. <link type="text/css" rel="stylesheet" href="../Resources/439/CSS/ac_media.css">
  14. <link type="text/css" rel="stylesheet" href="../Resources/439/CSS/devpubs.css">
  15. <link type="text/css" rel="stylesheet" href="../Resources/439/CSS/docs.css">
  16. <link type="text/css" rel="stylesheet" href="../Resources/439/CSS/pedia.css">
  17. <link type="text/css" rel="stylesheet" href="iPad_ReferenceLibrary.css">
  18. <script type="text/javascript" src="../Resources/439/JavaScript/lib/prototype.js"></script>
  19. </head>
  20.  
  21. <body class="iPad">
  22. <!-- Media player includes -->
  23. <script type="text/javascript" src="../Resources/439/JavaScript/lib/scriptaculous.js"></script>
  24. <script type="text/javascript" src="../Resources/439/JavaScript/lib/event_mixins.js"></script>
  25. <script type="text/javascript" src="../Resources/439/JavaScript/lib/browserdetect.js"></script>
  26. <script type="text/javascript" src="../Resources/439/JavaScript/lib/ac_media.js"></script>
  27. <!-- /Media player includes -->
  28. <script type="text/javascript" src="ui/js/ui-ipad.js" charset="utf-8"></script>
  29. <script type="text/javascript" src="iPad.js" charset="utf-8"></script>
  30. <script type="text/javascript">
  31. /* TODO: Insert Initialization Script Here at build time */
  32. /* Initialization
  33.  
  34. To debug on the desktop set the localSorage item debugSawtooth:
  35. localStorage.setItem('debugSawtooth', 'true');
  36.  
  37. Handles redirection of browser to correct version of library.
  38. We are not waiting unti the DOM is fully loaded so we can redirect as fast as possible.
  39. */
  40. if (ADSupportsTouches || (localStorage && localStorage.getItem('debugSawtooth') == 'true')) {
  41. if (window.innerWidth >= 768 || (localStorage && localStorage.getItem('debugSawtooth') == 'true')) {
  42. var iPad_ReferenceLibrary = new ReferenceLibrary();
  43. } else {
  44. // Redirect to iPhone/iPod Touch version
  45. if (window.location.hash){
  46. window.location = '../' + window.location.hash.replace(/^#/, '').replace(/%23/, '#');
  47. } else {
  48. window.location = '../';
  49. }
  50. }
  51. } else {
  52. // Redirect to desktop version
  53. if (window.location.hash){
  54. window.location = '../' + window.location.hash.replace(/^#/, '').replace(/%23/, '#');;
  55. } else {
  56. window.location = '../';
  57. }
  58. }
  59.  
  60. </script>
  61. </body>
Add Comment
Please, Sign In to add comment