code_junkie

Coding Dojo with IE and SSL

Nov 10th, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. This page contains both secure and nonsecure items.
  2. Do you want to display the nonsecure items?
  3.  
  4. if(dojo.isIE){
  5. var html="<iframe src='javascript:""'"
  6. + " style='position: absolute; left: 0px; top: 0px;"
  7. + "z-index: -1; filter:Alpha(Opacity="0");'>";
  8. iframe = dojo.doc.createElement(html);
  9. }else{...
  10.  
  11. if(dojo.isIE){
  12. var html="<iframe src='javascript:void(0);'"
  13. + " style='position: absolute; left: 0px; top: 0px;"
  14. + "z-index: -1; filter:Alpha(Opacity="0");'>";
  15. iframe = dojo.doc.createElement(html);
  16. }else{...
  17.  
  18. if(dojo.isIE){
  19. if(!dojo.config.afterOnLoad){
  20. document.write('<scr'+'ipt defer src="//:" '
  21. + 'onreadystatechange="if(this.readyState=='complete'){' + dojo._scopeName + '._loadInit();}">'
  22. + '</scr'+'ipt>'
  23. );
  24. }
  25.  
  26. <script type="text/javascript">
  27. djConfig = {
  28. modulePaths: {
  29. "dojo": "https://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo",
  30. "dijit": "https://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dijit",
  31. "dojox": "https://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojox"
  32. }
  33. };
  34.  
  35. </script>
  36. <script src="https://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/dojo.xd.js" type="text/javascript"></script>
Add Comment
Please, Sign In to add comment