61 lines
1.3 KiB
HTML
61 lines
1.3 KiB
HTML
<!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" />
|
|
<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>
|