This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 14th, 2013  |  syntax: None  |  size: 5.79 KB  |  views: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Unsafe JavaScript attempt to access frame with URL file:///C:/Users/lenovo        
  2. /Documents     /HelpNDoc/Output/html/testingproject.html from frame with URL  
  3. file:///C:/Users/lenovo/Documents/HelpNDoc/Output/html/toc.html. Domains,  
  4. protocols and ports must match.
  5. toc.html:36
  6.  
  7. Uncaught TypeError: Cannot call method 'lastIndexOf' of undefined toc.html:36
  8.  
  9. Unsafe JavaScript attempt to access frame with URL file:///C:/Users/lenovo  
  10. /Documents/HelpNDoc/Output/html/toc.html from frame with URL file:///C:/Users
  11. /lenovo/Documents/HelpNDoc/Output/html/Introduction.html. Domains, protocols and
  12. ports must match.
  13. Introduction.html:27
  14.  
  15. Unsafe JavaScript attempt to access frame with URL file:///C:/Users/lenovo  
  16. /Documents/HelpNDoc/Output/html/toc.html from frame with URL file:///C:/Users  
  17. /lenovo/Documents/HelpNDoc/Output/html/Systemrequirements.html. Domains,  
  18. protocols    and ports must match.
  19.  
  20. Systemrequirements.html:27
  21.  
  22. Unsafe JavaScript attempt to access frame with URL file:///C:/Users/lenovo
  23. /Documents/HelpNDoc/Output/html/toc.html from frame with URL file:///C:/Users/lenovo
  24. /Documents/HelpNDoc/Output/html/Gettinghelp.html. Domains, protocols and ports  
  25. must   match.
  26. Gettinghelp.html:27
  27.        
  28. <script type="text/javascript" src="js/searchdata.js"></script>
  29. <script type="text/javascript" src="js/jquery.min.js"></script>
  30. <script type="text/javascript" src="js/jquery-ui-1.8.17.custom.min.js"></script>
  31. <script type="text/javascript" src="js/jquery.cookie.js"></script>
  32. <script type="text/javascript" src="js/jquery.dynatree.min.js"></script>
  33. <script type="text/javascript" src="js/hndjsse.js"></script>
  34. <script type="text/javascript">
  35.  
  36. var bSearchDataLoaded = true;
  37. var sHelpIdToActivate = '';
  38.  
  39. $(document).ready(function()
  40. {
  41.    var sAnchorName =
  42.    top.location.href.substring(top.location.href.lastIndexOf("#") + 1,
  43.    top.location.href.length);
  44.         var nSelectedTab = 0;
  45.         if (sAnchorName == '_index') nSelectedTab = 1
  46.         else if (sAnchorName == '_search') nSelectedTab =
  47.     2;          
  48.         $("#tabs").tabs({
  49.             selected: nSelectedTab,
  50.             select: function(event, ui) { HideKwPopup(); }
  51.         });
  52.  
  53.         // Toc
  54.         $("#tab-toc").dynatree({
  55.             clickFolderMode: 1,
  56.             debugLevel: 0,
  57.             imagePath: 'css/dynatree/chm/',
  58.             onActivate: function(node){
  59.                 if ($("#tab-keywords") && $("#tab-
  60. keywords").dynatree && $("#tab-keywords").dynatree("getTree") && $("#tab-
  61. keywords").dynatree("getTree").activateKey)
  62.                     $("#tab-
  63. keywords").dynatree("getTree").activateKey(null);
  64.                 if(node.data.href && node.data.href != '#'){
  65.                     window.open(node.data.href,
  66. node.data.target);
  67.                 }
  68.             }
  69.         });
  70.        
  71. </style>
  72. <script type="text/javascript" src="js/jquery.min.js"></script>
  73. <script type="text/javascript" src="js/hnd.js"></script>
  74. <script type="text/javascript"><!--
  75. if (top.frames.length == 0)
  76. {
  77.             var sTopicUrl =
  78.           top.location.href.substring(top.location.href.lastIndexOf("/") + 1,
  79.           top.location.href.length);
  80.             top.location.href = "testingproject.html?" + sTopicUrl;
  81.         }
  82.         else if (top && top.FrameTOC && top.FrameTOC.SelectTocItem)
  83.         {
  84.             top.FrameTOC.SelectTocItem("Introduction");
  85.         }
  86. </script>
  87.  
  88. </head>
  89.        
  90. <script type="text/javascript" src="js/jquery.min.js"></script>
  91. <script type="text/javascript" src="js/hnd.js"></script>
  92. <script type="text/javascript"><!--
  93. if (top.frames.length == 0)
  94.         {
  95.             var sTopicUrl =
  96. top.location.href.substring(top.location.href.lastIndexOf("/") + 1,
  97. top.location.href.length);
  98.             top.location.href = "testingproject.html?" + sTopicUrl;
  99.         }
  100.         else if (top && top.FrameTOC && top.FrameTOC.SelectTocItem)
  101.         {
  102.             top.FrameTOC.SelectTocItem("Systemrequirements");
  103.         }
  104.     </script>
  105.  
  106.  </head>
  107.        
  108. <script type="text/javascript" src="js/jquery.min.js"></script>
  109. <script type="text/javascript" src="js/hnd.js"></script>
  110. <script type="text/javascript"><!--
  111.     if (top.frames.length == 0)
  112.     {
  113.         var sTopicUrl =
  114.  top.location.href.substring(top.location.href.lastIndexOf("/") + 1,
  115.  top.location.href.length);
  116.         top.location.href = "testingproject.html?" + sTopicUrl;
  117.     }
  118.     else if (top && top.FrameTOC && top.FrameTOC.SelectTocItem)
  119.     {
  120.         top.FrameTOC.SelectTocItem("Gettinghelp");
  121.     }
  122. </script>
  123. </head>
  124.        
  125. <script type="text/javascript" src="js/searchdata.js"></script>
  126. <script type="text/javascript" src="js/jquery.min.js"></script>
  127. <script type="text/javascript" src="js/jquery-ui-1.8.17.custom.min.js"></script>
  128. <script type="text/javascript" src="js/jquery.cookie.js"></script>
  129. <script type="text/javascript" src="js/jquery.dynatree.min.js"></script>
  130. <script type="text/javascript" src="js/hndjsse.js"></script>
  131. <script type="text/javascript">
  132.  
  133. var bSearchDataLoaded = true;
  134. var sHelpIdToActivate = '';
  135.  
  136. $(document).ready(function()
  137. {
  138. var sAnchorName =
  139. top.location.href.substring(top.location.href.lastIndexOf("#") + 1,
  140. top.location.href.length);
  141. var nSelectedTab = 0;
  142. if (sAnchorName == '_index'){
  143.     nSelectedTab = 1
  144. }
  145. else if (sAnchorName == '_search'){
  146.     nSelectedTab = 2;          
  147.     $("#tabs").tabs({
  148.         selected: nSelectedTab,
  149.         select: function(event, ui) { HideKwPopup(); }
  150.     });
  151. }
  152.  
  153. // Toc
  154. $("#tab-toc").dynatree({
  155.     clickFolderMode: 1,
  156.     debugLevel: 0,
  157.     imagePath: 'css/dynatree/chm/',
  158.     onActivate: function(node){
  159.         if ($("#tab-keywords") && $("#tab-keywords").dynatree && $("#tab-keywords").dynatree("getTree") && $("#tab-keywords").dynatree("getTree").activateKey){
  160.             $("#tab-keywords").dynatree("getTree").activateKey(null);
  161.             if(node.data.href && node.data.href != '#'){
  162.                 window.open(node.data.href, node.data.target);
  163.             }
  164.         }
  165.     }
  166. });
  167. });
clone this paste RAW Paste Data