bodyBackground.html 668 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <style>
  6. body {
  7. background: #000000;
  8. }
  9. div {
  10. padding: 15px;
  11. border: 1px solid #999;
  12. display: inline;
  13. margin:8px;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div>
  19. <script src="../../jquery.js"></script>
  20. </div>
  21. <script>
  22. jQuery(function() {
  23. window.parent.iframeCallback( jQuery( "body" ).css( "backgroundColor" ), jQuery.support );
  24. });
  25. </script>
  26. </body>
  27. </html>