12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!DOCTYPE html>
- <html>
- <!--
- Copyright 2008 The Closure Library Authors. All Rights Reserved.
- Use of this source code is governed by the Apache License, Version 2.0.
- See the COPYING file for details.
- -->
- <!--
- @author nicksantos@google.com (Nick Santos)
- -->
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta charset="UTF-8" />
- <title>
- Closure Unit Tests - goog.ui.MenuButton
- </title>
- <style type="text/css">
- .goog-menu {
- position: absolute;
- color: #aaa;
- }
- </style>
- <script src="../base.js">
- </script>
- <script>
- goog.require('goog.ui.MenuButtonTest');
- </script>
- </head>
- <body>
- <iframe id="iframe1" src="menubutton_test_frame.html" width="400" height="400">
- </iframe>
- <div id="positionElement" style="position: absolute; left: 205px">
- </div>
- <p>
- Here's a menubutton defined in markup:
- </p>
- <div id="siblingTest">
- </div>
- <div id="demoMenuButton" class="goog-menu-button">
- <div id="demoMenu" class="goog-menu">
- <div id="menuItem1" class="goog-menuitem">
- Annual Report.pdf
- </div>
- <div id="menuItem2" class="goog-menuitem">
- Quarterly Update.pdf
- </div>
- <div id="menuItem3" class="goog-menuitem">
- Enemies List.txt
- </div>
- </div>
- </div>
- <div id="button1" class="goog-menu-button">
- </div>
- <div id="button2" class="goog-menu-button">
- </div>
- <div id="footer">
- </div>
- </body>
- </html>
|