menubutton_test_frame.html 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <!--
  3. @author tkent@google.com (TAMURA Kent)
  4. -->
  5. <html>
  6. <!--
  7. Copyright 2009 The Closure Library Authors. All Rights Reserved.
  8. Use of this source code is governed by the Apache License, Version 2.0.
  9. See the COPYING file for details.
  10. -->
  11. <head>
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  13. <style type='text/css'>
  14. #demoMenuButton {
  15. /*
  16. * Set a fixed width because the button size can be changed by a scroll bar
  17. * without it.
  18. */
  19. width: 64px;
  20. }
  21. .goog-menu {
  22. position: absolute;
  23. color: #aaa;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div id="demoMenuButton" class="goog-menu-button">
  29. Button
  30. <div id="demoMenu" class="goog-menu">
  31. <div id='menuItem1' class="goog-menuitem">Annual Report.pdf</div>
  32. <div id='menuItem2' class="goog-menuitem">Quarterly Update.pdf</div>
  33. <div id='menuItem3' class="goog-menuitem">Enemies List.txt</div>
  34. </div>
  35. </div>
  36. <div id="footer"></div>
  37. </body>
  38. </html>